diff --git a/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp b/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp index e4c68a4587..5eee4bf317 100644 --- a/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp +++ b/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp @@ -31,6 +31,7 @@ #include "RimGeoMechContourMapViewCollection.h" #include "RimGeoMechView.h" +#include "RimSurfaceInViewCollection.h" #include "RimFaultInViewCollection.h" #include "RimSimWellInViewCollection.h" @@ -298,6 +299,9 @@ RimGeoMechContourMapView* RicNewContourMapViewFeature::createGeoMechContourMapFr contourMap->setGeoMechCase( geoMechCase ); contourMap->setBackgroundColor( cvf::Color3f( 1.0f, 1.0f, 0.98f ) ); // Ignore original view background contourMap->setDefaultCustomName(); + + // make sure no surfaces are shown in the view when the contourmap is generated + contourMap->surfaceInViewCollection()->setCheckState( Qt::Unchecked ); caf::PdmDocument::updateUiIconStateRecursively( contourMap );