From Tim Moore, fix to stats timing

This commit is contained in:
Robert Osfield 2010-11-25 13:00:24 +00:00
parent cdfbb7a753
commit 1bd55d732d

View File

@ -476,8 +476,11 @@ void Renderer::updateSceneView(osgUtil::SceneView* sceneView)
sceneView->setDisplaySettings(ds);
if (view) _startTick = view->getStartTick();
if (view)
{
_startTick = view->getStartTick();
if (state) state->setStartTick(_startTick);
}
}
void Renderer::compile()