mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Make sure we refresh the scene after setting a new color legend, not before
This commit is contained in:
1 parent
c0c0c2c4b8
commit
42ab0485bd
1 file changed
+1
-1
@@ -225,7 +225,6 @@ void RicImportFormationNamesFeature::setFormationCellResultAndLegend( Rim3dView*
|
||||
eclView->cellResult()->updateUiFieldsFromActiveResult();
|
||||
eclView->cellResult()->loadDataAndUpdate();
|
||||
eclView->updateAllRequiredEditors();
|
||||
eclView->updateDisplayModelForCurrentTimeStepAndRedraw();
|
||||
}
|
||||
|
||||
RimGeoMechView* geoMechView = dynamic_cast<RimGeoMechView*>( activeView );
|
||||
@@ -244,4 +243,5 @@ void RicImportFormationNamesFeature::setFormationCellResultAndLegend( Rim3dView*
|
||||
legendConfig->setColorLegend( legend );
|
||||
}
|
||||
}
|
||||
if ( eclView ) eclView->updateDisplayModelForCurrentTimeStepAndRedraw();
|
||||
}
|
||||
Reference in new issue
Block a user