Merge branch 'Instancing'
This commit is contained in:
commit
b7c07536f0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user