1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

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)