mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8583 RFT Plots : Add support for data source management to well log plots
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user