parent
e5fd6a5086
commit
1747becfc7
1 changed files with 1 additions and 0 deletions
|
@ -827,6 +827,7 @@ void GridMap::_update_octants_callback() {
|
||||||
}
|
}
|
||||||
|
|
||||||
while (to_delete.front()) {
|
while (to_delete.front()) {
|
||||||
|
memdelete(octant_map[to_delete.front()->get()]);
|
||||||
octant_map.erase(to_delete.front()->get());
|
octant_map.erase(to_delete.front()->get());
|
||||||
to_delete.pop_front();
|
to_delete.pop_front();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue