Page 1 of 1

Clear children nodes

Posted: Wed Jul 28, 2010 9:41 pm
by trollger
Another simple question how do you remove a child node from its parent

I tried:

MyNode->removeChild(MyOtherNode);

but I got an app crash (no errors)

Posted: Wed Jul 28, 2010 10:01 pm
by Iyad
It is probably a segmentation fault. Be sure that you are not using the child node after you removed it.

Posted: Wed Jul 28, 2010 10:08 pm
by trollger
Alright I'll look at it again