#5316 Fix crash when no surfaces are present

This commit is contained in:
Jacob Støren
2020-01-14 14:56:06 +01:00
parent cf74891952
commit cdba7d2104

View File

@@ -807,7 +807,7 @@ void RimEclipseView::updateVisibleGeometriesAndCellColors()
this->cellResult()->isTernarySaturationSelected();
m_intersectionCollection->updateCellResultColor( hasGeneralCellResult, m_currentTimeStep );
m_surfaceCollection->updateCellResultColor( hasGeneralCellResult, m_currentTimeStep );
if ( m_surfaceCollection ) m_surfaceCollection->updateCellResultColor( hasGeneralCellResult, m_currentTimeStep );
}
//--------------------------------------------------------------------------------------------------