mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-14 08:16:03 +02:00
Merge pull request #340 from daleglass/fix_entity_is_dead_assertion
Fix #337 by ensuring the object is marked as dead.
This commit is contained in:
commit
766bac7bd4
1 changed files with 1 additions and 0 deletions
|
@ -784,6 +784,7 @@ void EntityTree::processRemovedEntities(const DeleteEntityOperator& theOperator)
|
|||
}
|
||||
}
|
||||
if (theEntity->isSimulated()) {
|
||||
theEntity->die();
|
||||
_simulation->prepareEntityForDelete(theEntity);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue