mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 16:43:33 +02:00
also clear _staleProxies when clearing all else
This commit is contained in:
parent
7a852a0e31
commit
1e1d9907a4
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ void EntityTree::eraseAllOctreeElements(bool createNewRoot) {
|
|||
if (_simulation) {
|
||||
_simulation->clearEntities();
|
||||
}
|
||||
_staleProxies.clear();
|
||||
QHash<EntityItemID, EntityItemPointer> localMap;
|
||||
localMap.swap(_entityMap);
|
||||
this->withWriteLock([&] {
|
||||
|
|
Loading…
Reference in a new issue