I need to remove a sequence of bones from a figure (and from the scene). Can I just call dzScene->removeNode() on the root bone, or do I need to follow the entire chain and call removeNode() on each? If the latter, does the order matter? E.g. should I start at the end and work my way up to the root?
I’ve noticed that when you delete a node that has children in the Daz UI it automatically removes any children, but I’m not sure if the behavior is the same using dzScene->removeNode(). I also want to be sure I’m not introducing a memory leak in my code.