mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make sure we refresh the scene after setting a new color legend, not before
This commit is contained in:
parent
c0c0c2c4b8
commit
42ab0485bd
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user