mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #6270 from OPM/surface_bugfixes
Hide surfaces when generating contour map view
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include "RimFaultInViewCollection.h"
|
||||
#include "RimSimWellInViewCollection.h"
|
||||
#include "RimSurfaceInViewCollection.h"
|
||||
|
||||
#include "Riu3DMainWindowTools.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
|
||||
if ( contourMap->surfaceInViewCollection() ) contourMap->surfaceInViewCollection()->setCheckState( Qt::Unchecked );
|
||||
|
||||
caf::PdmDocument::updateUiIconStateRecursively( contourMap );
|
||||
|
||||
geoMechCase->contourMapCollection()->push_back( contourMap );
|
||||
|
||||
Reference in New Issue
Block a user