mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-30 17:42:13 -06:00
Thermal Fracture: guard for nullptrs for surface export.
This commit is contained in:
1 parent
8ed349f859
commit
8193f24a55
3 files changed
+13
-6
No files matched your search
@@ -45,7 +45,8 @@ RimcThermalFractureTemplate_exportToFile::RimcThermalFractureTemplate_exportToFi
|
||||
caf::PdmObjectHandle* RimcThermalFractureTemplate_exportToFile::execute()
|
||||
{
|
||||
RimThermalFractureTemplate* thermalFracture = self<RimThermalFractureTemplate>();
|
||||
RifThermalFractureTemplateSurfaceExporter::writeToFile( thermalFracture, m_timeStep(), m_filePath() );
|
||||
if ( thermalFracture && thermalFracture->fractureDefinition() )
|
||||
RifThermalFractureTemplateSurfaceExporter::writeToFile( thermalFracture, m_timeStep(), m_filePath() );
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user