mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
Fixes #134 and #135 with a slight hit on performances as get_or_assign_index will now always assign (#247)
This commit is contained in:
parent
2dadc86fb0
commit
4eb437ab2e
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ where
|
|||
for buffer_status in self.uniform_arrays.iter_mut() {
|
||||
if let Some((_name, buffer_status)) = buffer_status {
|
||||
buffer_status.changed_item_count = 0;
|
||||
buffer_status.current_index = 0;
|
||||
buffer_status.indices.clear();
|
||||
buffer_status.current_offset = 0;
|
||||
buffer_status.changed_size = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue