From Tim Moore, fix to stats timing
This commit is contained in:
parent
cdfbb7a753
commit
1bd55d732d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user