Hack not to add displacement node to scene manager
This commit is contained in:
parent
9922047dd1
commit
25b5134881
@ -220,6 +220,8 @@ void TrackObject::init(const XMLNode &xml_node, scene::ISceneNode* parent,
|
||||
if (xml_node.get("displacing", &displacing) && displacing && glownode)
|
||||
{
|
||||
irr_driver->addDisplacingNode(glownode);
|
||||
glownode->setVisible(false);
|
||||
glownode->updateAbsolutePosition();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user