fix pivot delete disconnect walk
This commit is contained in:
parent
0c5a1142d3
commit
1424c18cc4
@ -304,13 +304,13 @@ var Pivot =
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// disconnect terminal branches
|
// disconnect leaves from terminal branches
|
||||||
N.Walk(()=>{}, inRoot, "Hierarchy", inNode=>{
|
N.Walk(()=>{}, inRoot, "Hierarchy", true, terminal=>{
|
||||||
N.Disconnect(inNode, null, "Leaf");
|
N.Disconnect(terminal, null, "Leaf");
|
||||||
});
|
});
|
||||||
|
|
||||||
// disconnect from app
|
// disconnect from app
|
||||||
N.Disconnect(null, inRoot, "Pivot")
|
N.Disconnect(null, inRoot, "Pivot");
|
||||||
},
|
},
|
||||||
Modify(inNode)
|
Modify(inNode)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user