From 25b51348815c8ff029ba2e1e7126d439fe59ac3f Mon Sep 17 00:00:00 2001 From: vlj Date: Wed, 9 Jul 2014 03:20:31 +0200 Subject: [PATCH] Hack not to add displacement node to scene manager --- src/tracks/track_object.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tracks/track_object.cpp b/src/tracks/track_object.cpp index 3ab590304..9cb251f29 100644 --- a/src/tracks/track_object.cpp +++ b/src/tracks/track_object.cpp @@ -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(); } }