Small fix for terrain

This commit is contained in:
scrawl 2014-03-09 03:21:34 +01:00
parent 72a3c50eb8
commit b8ca067730

View file

@ -357,6 +357,7 @@ bool QuadTreeNode::update(const Ogre::Vector3 &cameraPos)
if (!childrenLoaded)
{
mChunk->setVisible(true);
// Make sure child scene nodes are detached until all children are loaded
mSceneNode->removeAllChildren();
}