mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 19:16:39 +00:00
Revert "forgot to destroy child scene nodes"
This reverts commit f1a3309392.
Unneeded. The caller already calls this which destroys the children recursively
This commit is contained in:
parent
9e7b559b09
commit
5267d17408
1 changed files with 0 additions and 1 deletions
|
|
@ -55,7 +55,6 @@ void Objects::clearSceneNode (Ogre::SceneNode *node)
|
||||||
{
|
{
|
||||||
clearSceneNode(static_cast<Ogre::SceneNode*>(it.getNext ()));
|
clearSceneNode(static_cast<Ogre::SceneNode*>(it.getNext ()));
|
||||||
}
|
}
|
||||||
node->removeAndDestroyAllChildren ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Objects::setMwRoot(Ogre::SceneNode* root)
|
void Objects::setMwRoot(Ogre::SceneNode* root)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue