1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Fix GridMap erase Octans

(cherry picked from commit 4da4514b71)
This commit is contained in:
Pitanov V.V
2021-07-02 03:26:26 +10:00
committed by Rémi Verschelde
parent cd64bcdae5
commit d3dab1d06c

View File

@@ -778,7 +778,7 @@ void GridMap::_update_octants_callback() {
while (to_delete.front()) {
octant_map.erase(to_delete.front()->get());
to_delete.pop_back();
to_delete.pop_front();
}
_update_visibility();