From Tim Moore, fix to stats timing
This commit is contained in:
parent
cdfbb7a753
commit
1bd55d732d
@ -476,9 +476,12 @@ void Renderer::updateSceneView(osgUtil::SceneView* sceneView)
|
|||||||
|
|
||||||
sceneView->setDisplaySettings(ds);
|
sceneView->setDisplaySettings(ds);
|
||||||
|
|
||||||
if (view) _startTick = view->getStartTick();
|
if (view)
|
||||||
|
{
|
||||||
|
_startTick = view->getStartTick();
|
||||||
if (state) state->setStartTick(_startTick);
|
if (state) state->setStartTick(_startTick);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void Renderer::compile()
|
void Renderer::compile()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user