mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +02:00
Merge pull request #12919 from kitely/fix-import-entities-distance
Fixed crash when importing entities from JSON multiple times
This commit is contained in:
commit
db99d12736
1 changed files with 5 additions and 0 deletions
|
@ -112,6 +112,11 @@ void EntityTree::eraseAllOctreeElements(bool createNewRoot) {
|
||||||
|
|
||||||
resetClientEditStats();
|
resetClientEditStats();
|
||||||
clearDeletedEntities();
|
clearDeletedEntities();
|
||||||
|
|
||||||
|
{
|
||||||
|
QWriteLocker locker(&_needsParentFixupLock);
|
||||||
|
_needsParentFixup.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EntityTree::readBitstreamToTree(const unsigned char* bitstream,
|
void EntityTree::readBitstreamToTree(const unsigned char* bitstream,
|
||||||
|
|
Loading…
Reference in a new issue