#5019 Fix wrong use of explicit scalar mappers for intersections

Only 2d intersection view is supposed to use them
This commit is contained in:
Jacob Støren
2019-11-25 15:33:42 +01:00
parent baedf02ba9
commit 7aec88de3c
7 changed files with 12 additions and 21 deletions

View File

@@ -580,7 +580,7 @@ QString RimGeoMechResultDefinition::diffResultUiShortName() const
//--------------------------------------------------------------------------------------------------
RigGeoMechCaseData* RimGeoMechResultDefinition::ownerCaseData() const
{
return m_geomCase->geoMechData();
return m_geomCase ? m_geomCase->geoMechData() : nullptr;
}
//--------------------------------------------------------------------------------------------------