Fixes by clang-format

This commit is contained in:
github-actions[bot]
2020-08-05 12:07:14 +00:00
committed by GitHub
parent ea32743ad5
commit 4729221373

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 );