mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 02:53:43 +02:00
make sure entities constructed from reading buffers are included in the entity hash map
This commit is contained in:
parent
6b62c6b976
commit
9409d07c46
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ int EntityTreeElement::readElementDataFromBuffer(const unsigned char* data, int
|
|||
if (entityItem) {
|
||||
bytesForThisEntity = entityItem->readEntityDataFromBuffer(dataAt, bytesLeftToRead, args);
|
||||
addEntityItem(entityItem); // add this new entity to this elements entities
|
||||
_myTree->setContainingElement(entityItem->getEntityItemID(), this);
|
||||
newEntity = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue