mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Revert " #4851 Ensemble RFT : Make sure colors are created correctly"
This reverts commit cb5195bac2
.
This commit is contained in:
parent
7e5d358fa1
commit
edc4486de7
@ -986,6 +986,18 @@ void RimWellRftPlot::onLoadDataAndUpdate()
|
||||
updateMdiWindowVisibility();
|
||||
updateFormationsOnPlot();
|
||||
|
||||
// Update of curve color must happen here when loading data from project file, as the curve color is blended by the
|
||||
// background color. The background color is taken from the viewer.
|
||||
RimWellLogTrack* const plotTrack = trackByIndex( 0 );
|
||||
|
||||
if ( plotTrack && plotTrack->viewer() )
|
||||
{
|
||||
for ( auto c : plotTrack->curvesVector() )
|
||||
{
|
||||
applyCurveColor( c );
|
||||
}
|
||||
}
|
||||
|
||||
if ( depthType() == RimWellLogPlot::MEASURED_DEPTH )
|
||||
{
|
||||
assignWellPathToExtractionCurves();
|
||||
@ -994,20 +1006,6 @@ void RimWellRftPlot::onLoadDataAndUpdate()
|
||||
RimWellLogPlot::onLoadDataAndUpdate();
|
||||
|
||||
updateEditorsFromCurves();
|
||||
|
||||
// Update of curve color must happen here when loading data from project file, as the curve color is blended by the
|
||||
// background color. The background color is taken from the viewer.
|
||||
RimWellLogTrack* const plotTrack = trackByIndex( 0 );
|
||||
|
||||
if ( plotTrack && plotTrack->viewer() )
|
||||
{
|
||||
syncCurvesFromUiSelection();
|
||||
|
||||
for ( auto c : plotTrack->curvesVector() )
|
||||
{
|
||||
applyCurveColor( c );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user