forgot to destroy child scene nodes

This commit is contained in:
scrawl 2013-02-24 19:03:25 +01:00
parent 1ae2d3c6ab
commit f1a3309392

View file

@ -55,6 +55,7 @@ void Objects::clearSceneNode (Ogre::SceneNode *node)
{
clearSceneNode(static_cast<Ogre::SceneNode*>(it.getNext ()));
}
node->removeAndDestroyAllChildren ();
}
void Objects::setMwRoot(Ogre::SceneNode* root)