mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +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) {
|
if (_simulation) {
|
||||||
_simulation->clearEntities();
|
_simulation->clearEntities();
|
||||||
}
|
}
|
||||||
|
_staleProxies.clear();
|
||||||
QHash<EntityItemID, EntityItemPointer> localMap;
|
QHash<EntityItemID, EntityItemPointer> localMap;
|
||||||
localMap.swap(_entityMap);
|
localMap.swap(_entityMap);
|
||||||
this->withWriteLock([&] {
|
this->withWriteLock([&] {
|
||||||
|
|
Loading…
Reference in a new issue