mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:06:02 +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) {
|
if (!entity) {
|
||||||
// entity was deleted before we found its parent
|
// entity was deleted before we found its parent
|
||||||
iter.remove();
|
iter.remove();
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
entity->requiresRecalcBoxes();
|
entity->requiresRecalcBoxes();
|
||||||
|
|
Loading…
Reference in a new issue