mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#11391 RFT plot: Check if formations are present before extracting data
This commit is contained in:
@@ -2942,7 +2942,10 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
|
|||||||
RigEclipseResultAddress( RiaDefines::ResultCatType::FORMATION_NAMES,
|
RigEclipseResultAddress( RiaDefines::ResultCatType::FORMATION_NAMES,
|
||||||
RiaResultNames::activeFormationNamesResultName() ) );
|
RiaResultNames::activeFormationNamesResultName() ) );
|
||||||
|
|
||||||
curveData = RimWellLogTrack::curveSamplingPointData( eclWellLogExtractor, resultAccessor.p() );
|
if ( resultAccessor.notNull() )
|
||||||
|
{
|
||||||
|
curveData = RimWellLogTrack::curveSamplingPointData( eclWellLogExtractor, resultAccessor.p() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user