Make sure we refresh the scene after setting a new color legend, not before

This commit is contained in:
Jon Jenssen 2020-08-26 17:11:13 +02:00 committed by Magne Sjaastad
parent c0c0c2c4b8
commit 42ab0485bd

View File

@ -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();
}