mirror of
https://github.com/lubosz/overte.git
synced 2025-04-12 17:32:30 +02:00
pass in deletedIDs so can delete children depth > 1
This commit is contained in:
parent
3585bead96
commit
3aa12eb7df
1 changed files with 1 additions and 1 deletions
|
@ -1344,7 +1344,7 @@ function recursiveDelete(entities, childrenList, deletedIDs) {
|
|||
var entityID = entities[i];
|
||||
var children = Entities.getChildrenIDs(entityID);
|
||||
var grandchildrenList = [];
|
||||
recursiveDelete(children, grandchildrenList);
|
||||
recursiveDelete(children, grandchildrenList, deletedIDs);
|
||||
var initialProperties = Entities.getEntityProperties(entityID);
|
||||
childrenList.push({
|
||||
entityID: entityID,
|
||||
|
|
Loading…
Reference in a new issue