#8583 RFT Plots : Add support for data source management to well log plots

This commit is contained in:
Magne Sjaastad committed 2022-02-24 13:03:15 +01:00
1 parent 7f41349b5c
commit 10a01972f3
11 files changed
+396 -139

No files matched your search

@@ -368,6 +368,17 @@ RimWellLogRftCurve*
plotTrack->setFormationCase( resultCase );
plotTrack->setFormationSimWellName( simWell->name() );
}
else if ( resultCase )
{
curve->setEclipseResultCase( resultCase );
auto wellNames = resultCase->rftReader()->wellNames();
if ( !wellNames.empty() )
{
auto wellName = *( wellNames.begin() );
curve->setDefaultAddress( wellName );
}
}
cvf::Color3f curveColor = RicWellLogPlotCurveFeatureImpl::curveColorFromTable( plotTrack->curveCount() );
curve->setColor( curveColor );