Browse Source

Merge pull request #50052 from Valeryn4/Valeryn4-Fix-GridMap

Rémi Verschelde 4 years ago
parent
commit
382ddd497a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gridmap/grid_map.cpp

+ 1 - 1
modules/gridmap/grid_map.cpp

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