mirror of
https://github.com/godotengine/godot.git
synced 2025-01-21 01:11:20 +00:00
Merge pull request #57764 from timothyqiu/octant-delete
This commit is contained in:
commit
d35269ab21
@ -813,6 +813,7 @@ void GridMap::_update_octants_callback() {
|
||||
}
|
||||
|
||||
while (to_delete.front()) {
|
||||
memdelete(octant_map[to_delete.front()->get()]);
|
||||
octant_map.erase(to_delete.front()->get());
|
||||
to_delete.pop_front();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user