Avoid repeatedly resetting the view

This commit is contained in:
Jacob Støren committed 2015-09-21 18:54:37 +02:00
1 parent 644a4529d3
commit eb3cf20263
1 file changed
+1
@@ -234,6 +234,7 @@ void RimView::createDisplayModelAndRedraw()
if (cameraPosition().isIdentity())
{
setDefaultView();
cameraPosition = m_viewer->mainCamera()->viewMatrix();
}
}