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

Revert "forgot to destroy child scene nodes"

This reverts commit f1a33093922a8f16a05e98af5b86c05eed9743f6.

Unneeded. The caller already calls this which destroys the children recursively
This commit is contained in:
Chris Robinson 2013-02-24 14:14:08 -08:00
parent 9e7b559b09
commit 5267d17408

View File

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