diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index 275871e14..98c2efe2a 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -168,7 +168,9 @@ TrackObjectPresentationInstancing::TrackObjectPresentationInstancing(const XMLNo m_node->setRotation(m_init_hpr); m_node->setScale(m_init_scale); m_node->updateAbsolutePosition(); - model_def_loader.instanciate(m_node->getAbsolutePosition(), m_init_hpr, instancing_model); + model_def_loader.instanciate(m_node->getAbsolutePosition(), + m_node->getAbsoluteTransformation().getRotationDegrees(), + instancing_model); } TrackObjectPresentationInstancing::~TrackObjectPresentationInstancing()