StimPlanModel: avoid crashing on incomplete projects.

This commit is contained in:
Kristian Bendiksen
2022-10-19 11:22:49 +02:00
parent a695edc13a
commit f7a2acc3cf
6 changed files with 41 additions and 11 deletions

View File

@@ -74,6 +74,11 @@ bool RimStimPlanModelLayerCalculator::calculate( RiaDefines::CurveProperty curve
return false;
}
if ( !eclipseCase->eclipseCaseData() )
{
return false;
}
if ( !stimPlanModel->thicknessDirectionWellPath() )
{
return false;