Fix update

This commit is contained in:
Marianne Gagnon 2014-05-23 20:51:02 -04:00
parent c6f4c8e0aa
commit 40d62e7c6c

View File

@ -168,6 +168,8 @@ void ModelViewWidget::update(float delta)
if (m_rtt_main_node == NULL)
setupRTTScene(m_models, m_model_location, m_model_scale, m_model_frames);
}
m_rtt_main_node->setRotation(core::vector3df(0.0f, angle, 0.0f));
irr_driver->setRTT(m_rtt_provider);
irr_driver->getSceneManager()->setActiveCamera(m_camera);