#11391 RFT plot: Check if formations are present before extracting data

This commit is contained in:
Magne Sjaastad
2024-04-23 11:25:30 +02:00
parent 3965041550
commit f3cf849458

View File

@@ -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
{ {