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