Merge branch 'Instancing'

This commit is contained in:
Marianne Gagnon 2014-03-28 21:10:52 -04:00
commit b7c07536f0

View File

@ -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()