mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Avoid repeatedly resetting the view
This commit is contained in:
parent
644a4529d3
commit
eb3cf20263
@ -234,6 +234,7 @@ void RimView::createDisplayModelAndRedraw()
|
|||||||
if (cameraPosition().isIdentity())
|
if (cameraPosition().isIdentity())
|
||||||
{
|
{
|
||||||
setDefaultView();
|
setDefaultView();
|
||||||
|
cameraPosition = m_viewer->mainCamera()->viewMatrix();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user