mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3579 Fix crash when selecting none as cell result.
This commit is contained in:
@@ -184,8 +184,8 @@ void Rim2dGridProjection::generateResults()
|
||||
RimEclipseCellColors* cellColors = view->cellResult();
|
||||
|
||||
m_resultAccessor = RigResultAccessorFactory::createFromResultDefinition(eclipseCase->eclipseCaseData(), 0, timeStep, cellColors);
|
||||
CVF_ASSERT(m_resultAccessor.notNull());
|
||||
|
||||
if (m_resultAccessor.notNull())
|
||||
{
|
||||
if (!cellColors->isTernarySaturationSelected())
|
||||
{
|
||||
#pragma omp parallel for
|
||||
@@ -196,6 +196,7 @@ void Rim2dGridProjection::generateResults()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user