mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Fix for issue #6187 - hide surfaces when creating a contour map
This commit is contained in:
1 parent
bb8612c6a6
commit
0ce53a3219
1 file changed
+4
@@ -31,6 +31,7 @@
|
||||
#include "RimGeoMechContourMapViewCollection.h"
|
||||
#include "RimGeoMechView.h"
|
||||
|
||||
#include "RimSurfaceInViewCollection.h"
|
||||
#include "RimFaultInViewCollection.h"
|
||||
#include "RimSimWellInViewCollection.h"
|
||||
|
||||
@@ -299,6 +300,9 @@ RimGeoMechContourMapView* RicNewContourMapViewFeature::createGeoMechContourMapFr
|
||||
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 );
|
||||
|
||||
geoMechCase->contourMapCollection()->push_back( contourMap );
|
||||
|
||||
Reference in new issue
Block a user