Remove Child, problems

I looked at the source code. All it means is that it will not allow you to remove child node if you are not the direct parent of that node.

So if I do

Var nodea
Var nodeb
Var nodec

nodea.add_child(nodeb)
nodec.remove_child(nodeb) # fatal exception 

But since you are intended to be added and removed from the same parent. My guess is that it may have to deal with the deferred calls? Some how remove_child is called before the add_child?

1 Like