1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +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 c90766cc38
commit 686a27b278

View File

@@ -813,7 +813,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();