mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5019 Fix wrong use of explicit scalar mappers for intersections
Only 2d intersection view is supposed to use them
This commit is contained in:
@@ -580,7 +580,7 @@ QString RimGeoMechResultDefinition::diffResultUiShortName() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigGeoMechCaseData* RimGeoMechResultDefinition::ownerCaseData() const
|
||||
{
|
||||
return m_geomCase->geoMechData();
|
||||
return m_geomCase ? m_geomCase->geoMechData() : nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user