mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:13:47 +02:00
fixed child not commit back when performing undo
This commit is contained in:
parent
3c1d434449
commit
a35f28725b
1 changed files with 1 additions and 1 deletions
|
@ -1310,7 +1310,7 @@ function recursiveAdd(newParentID, parentData) {
|
|||
var children = parentData.children;
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
var childProperties = children[i].properties;
|
||||
childProperties.parentID = newParnetID;
|
||||
childProperties.parentID = newParentID;
|
||||
var newChildID = Entities.addEntity(childProperties);
|
||||
recursiveAdd(newChildID, children[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue