Hack not to add displacement node to scene manager

This commit is contained in:
vlj 2014-07-09 03:20:31 +02:00
parent 9922047dd1
commit 25b5134881

View File

@ -220,6 +220,8 @@ void TrackObject::init(const XMLNode &xml_node, scene::ISceneNode* parent,
if (xml_node.get("displacing", &displacing) && displacing && glownode) if (xml_node.get("displacing", &displacing) && displacing && glownode)
{ {
irr_driver->addDisplacingNode(glownode); irr_driver->addDisplacingNode(glownode);
glownode->setVisible(false);
glownode->updateAbsolutePosition();
} }
} }