mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
be more careful about fixing up entities which arrived before their parents
This commit is contained in:
parent
386c76545c
commit
67f222cb3f
1 changed files with 1 additions and 0 deletions
|
@ -1218,6 +1218,7 @@ void EntityTree::fixupMissingParents() {
|
|||
if (!entity) {
|
||||
// entity was deleted before we found its parent
|
||||
iter.remove();
|
||||
continue;
|
||||
}
|
||||
|
||||
entity->requiresRecalcBoxes();
|
||||
|
|
Loading…
Reference in a new issue