moved the renderer update call from OMW::Engine to RenderingManager

actorid
scrawl 13 years ago
parent 457d9fd9f8
commit 60856b46e6

@ -162,9 +162,6 @@ bool OMW::Engine::frameRenderingQueued (const Ogre::FrameEvent& evt)
// report focus object (for debugging)
if (mReportFocus)
updateFocusReport (mEnvironment.mFrameDuration);
// update ogre renderer
mOgre->update(evt.timeSinceLastFrame);
}
catch (const std::exception& e)
{

@ -125,6 +125,8 @@ void RenderingManager::moveObjectToCell (const MWWorld::Ptr& ptr, const Ogre::Ve
void RenderingManager::update (float duration){
mActors.update (duration);
mRendering.update(duration);
}
void RenderingManager::skyEnable ()

@ -1 +1 @@
Subproject commit b77f5c06cc3fd818a5efbbb42d6c2a079fa91143
Subproject commit eb61ba59e64c332931c12251cac40de5836ff9cd
Loading…
Cancel
Save