mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 14:03:18 -06:00
Fix window edge axis crash
This commit is contained in:
parent
cf3a1ad43f
commit
063802130c
@ -721,9 +721,13 @@ RimViewWindow* RiuViewer::ownerViewWindow() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::optimizeClippingPlanes()
|
||||
{
|
||||
m_windowEdgeAxisOverlay->setDisplayCoordTransform(m_rimView->displayCoordTransform().p());
|
||||
if (m_showWindowEdgeAxes)
|
||||
{
|
||||
m_windowEdgeAxisOverlay->setDisplayCoordTransform(m_rimView->displayCoordTransform().p());
|
||||
m_windowEdgeAxisOverlay->updateFromCamera(this->mainCamera());
|
||||
}
|
||||
|
||||
m_gridBoxGenerator->updateFromCamera(mainCamera());
|
||||
m_windowEdgeAxisOverlay->updateFromCamera(this->mainCamera());
|
||||
caf::Viewer::optimizeClippingPlanes();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user