mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:23:53 +00:00
moved the renderer update call from OMW::Engine to RenderingManager
This commit is contained in:
parent
457d9fd9f8
commit
60856b46e6
3 changed files with 3 additions and 4 deletions
|
@ -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…
Reference in a new issue