mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 08:23:59 +02:00
Fix enumeration of entity tree
This commit is contained in:
parent
3450d64bed
commit
657ac1aaeb
1 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,9 @@
|
|||
|
||||
children = Entities.getChildrenIDs(id);
|
||||
for (i = 0, length = children.length; i < length; i += 1) {
|
||||
traverseEntityTree(children[i], result);
|
||||
if (Entities.getNestableType(children[i]) === ENTITY_TYPE) {
|
||||
traverseEntityTree(children[i], result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue