mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 21:19:40 +00:00
forgot to destroy child scene nodes
This commit is contained in:
parent
1ae2d3c6ab
commit
f1a3309392
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ 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