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:
parent
1ae2d3c6ab
commit
f1a3309392
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user