mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4851 Ensemble RFT : Make sure colors are created correctly
This commit is contained in:
@@ -986,18 +986,6 @@ void RimWellRftPlot::onLoadDataAndUpdate()
|
|||||||
updateMdiWindowVisibility();
|
updateMdiWindowVisibility();
|
||||||
updateFormationsOnPlot();
|
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 )
|
if ( depthType() == RimWellLogPlot::MEASURED_DEPTH )
|
||||||
{
|
{
|
||||||
assignWellPathToExtractionCurves();
|
assignWellPathToExtractionCurves();
|
||||||
@@ -1006,6 +994,20 @@ void RimWellRftPlot::onLoadDataAndUpdate()
|
|||||||
RimWellLogPlot::onLoadDataAndUpdate();
|
RimWellLogPlot::onLoadDataAndUpdate();
|
||||||
|
|
||||||
updateEditorsFromCurves();
|
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 );
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user