mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Add nullptr guard in case no valid main grid in view.
This commit is contained in:
1 parent
de6a2a7aa8
commit
7b05b18d8c
1 file changed
+1
-1
@@ -1067,7 +1067,7 @@ void RimExtrudedCurveIntersection::defineEditorAttribute( const caf::PdmFieldHan
|
||||
{
|
||||
RimEclipseView* eclView = eclipseView();
|
||||
|
||||
if ( eclView )
|
||||
if ( eclView && eclView->mainGrid() )
|
||||
{
|
||||
const cvf::BoundingBox bb = eclView->mainGrid()->boundingBox();
|
||||
|
||||
|
||||
Reference in new issue
Block a user