mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update legend and 3D info on display model gen
This commit is contained in:
@@ -181,6 +181,8 @@ void RimGeoMechView::createDisplayModelAndRedraw()
|
||||
m_viewer->zoomAll();
|
||||
m_viewer->update();
|
||||
|
||||
updateLegends();
|
||||
overlayInfoConfig()->update3DInfo();
|
||||
}
|
||||
}
|
||||
RiuMainWindow::instance()->refreshAnimationActions();
|
||||
@@ -205,6 +207,18 @@ void RimGeoMechView::resetLegendsInViewer()
|
||||
m_viewer->addColorLegendToBottomLeftCorner(this->cellResult()->legendConfig->legend());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechView::updateLegends()
|
||||
{
|
||||
if (m_viewer)
|
||||
{
|
||||
m_viewer->removeAllColorLegends();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user