mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
(#266) Update grid box model in optimizeClippingPlanes
This commit is contained in:
parent
019c35540d
commit
2c1b960251
@ -271,8 +271,8 @@ void RimView::createDisplayModelAndRedraw()
|
||||
this->clampCurrentTimestep();
|
||||
|
||||
createDisplayModel();
|
||||
updateDisplayModelVisibility();
|
||||
createOverlayDisplayModel();
|
||||
updateDisplayModelVisibility();
|
||||
|
||||
if (cameraPosition().isIdentity())
|
||||
{
|
||||
|
@ -502,8 +502,6 @@ void RiuViewer::navigationPolicyUpdate()
|
||||
{
|
||||
viewLinker->updateCamera(m_rimView);
|
||||
}
|
||||
|
||||
m_gridBoxGenerator->updateFromCamera(mainCamera());
|
||||
}
|
||||
}
|
||||
|
||||
@ -587,7 +585,8 @@ void RiuViewer::optimizeClippingPlanes()
|
||||
{
|
||||
caf::Viewer::optimizeClippingPlanes();
|
||||
|
||||
copyCameraView(m_mainCamera.p(), m_overlayRendering->camera());
|
||||
m_gridBoxGenerator->updateFromCamera(mainCamera());
|
||||
copyCameraView(mainCamera(), m_overlayRendering->camera());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user