Merge pull request #6269 from OPM/clang-format-patches

Fixes by clang-format
This commit is contained in:
jonjenssen 2020-08-05 14:12:32 +02:00 committed by GitHub
commit 652dd838ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,9 +31,9 @@
#include "RimGeoMechContourMapViewCollection.h"
#include "RimGeoMechView.h"
#include "RimSurfaceInViewCollection.h"
#include "RimFaultInViewCollection.h"
#include "RimSimWellInViewCollection.h"
#include "RimSurfaceInViewCollection.h"
#include "Riu3DMainWindowTools.h"
@ -299,10 +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
if ( contourMap->surfaceInViewCollection() )
contourMap->surfaceInViewCollection()->setCheckState( Qt::Unchecked );
if ( contourMap->surfaceInViewCollection() ) contourMap->surfaceInViewCollection()->setCheckState( Qt::Unchecked );
caf::PdmDocument::updateUiIconStateRecursively( contourMap );