mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4857 Fix measurement picking in comparison view.
This commit is contained in:
@@ -1027,11 +1027,18 @@ void Rim3dView::updateZScaleLabel()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void Rim3dView::updateMeasurement()
|
||||
void Rim3dView::createMeasurementDisplayModelAndRedraw()
|
||||
{
|
||||
if ( m_viewer )
|
||||
appendMeasurementToModel();
|
||||
|
||||
if ( Rim3dView* depView = prepareComparisonView() )
|
||||
{
|
||||
depView->appendMeasurementToModel();
|
||||
restoreComparisonView();
|
||||
}
|
||||
|
||||
if ( nativeOrOverrideViewer() )
|
||||
{
|
||||
appendMeasurementToModel();
|
||||
nativeOrOverrideViewer()->update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user