1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 09:53:52 +00:00

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

This commit is contained in:
scrawl 2012-02-19 23:22:29 +01:00
parent 457d9fd9f8
commit 60856b46e6
3 changed files with 3 additions and 4 deletions

View file

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

View file

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