mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix for issue #6187 - hide surfaces when creating a contour map
This commit is contained in:
parent
bb8612c6a6
commit
0ce53a3219
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user