From d63837260fe1ebdd2484a20bf65bb3454914cde6 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Sat, 10 Oct 2015 20:52:12 -0400 Subject: [PATCH] Remove seemingly uneeded rotation, see #2345. Not sure I understand what is going on --- src/tracks/track_object.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tracks/track_object.cpp b/src/tracks/track_object.cpp index 8c8a8e5c1..d3d4574a6 100644 --- a/src/tracks/track_object.cpp +++ b/src/tracks/track_object.cpp @@ -218,7 +218,8 @@ void TrackObject::init(const XMLNode &xml_node, scene::ISceneNode* parent, core::matrix4 absTransform = node->getAbsoluteTransformation(); node->setParent(irr_driver->getSceneManager()->getRootSceneNode()); node->setPosition(absTransform.getTranslation()); - node->setRotation(absTransform.getRotationDegrees()); + // Doesn't seem necessary to set rotation here, TODO: not sure why + //node->setRotation(absTransform.getRotationDegrees()); node->setScale(absTransform.getScale()); is_movable = true; }