mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Avoid repeatedly resetting the view
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user