mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -302,8 +302,7 @@ void RimViewController::updateOverrides()
|
||||
{
|
||||
if ( isPropertyFilterOveridden() )
|
||||
{
|
||||
manGeoView->setOverridePropertyFilterCollection(
|
||||
masterGeoView->geoMechPropertyFilterCollection() );
|
||||
manGeoView->setOverridePropertyFilterCollection( masterGeoView->geoMechPropertyFilterCollection() );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -617,14 +616,12 @@ const RigCaseToCaseCellMapper* RimViewController::cellMapper()
|
||||
dependEclGrid = dependEclipseView->mainGrid();
|
||||
}
|
||||
|
||||
if ( masterGeomechView && masterGeomechView->geoMechCase()->geoMechData() &&
|
||||
masterGeomechView->femParts()->partCount() )
|
||||
if ( masterGeomechView && masterGeomechView->geoMechCase()->geoMechData() && masterGeomechView->femParts()->partCount() )
|
||||
{
|
||||
masterFemPart = masterGeomechView->femParts()->part( 0 );
|
||||
}
|
||||
|
||||
if ( dependGeomechView && dependGeomechView->geoMechCase()->geoMechData() &&
|
||||
dependGeomechView->femParts()->partCount() )
|
||||
if ( dependGeomechView && dependGeomechView->geoMechCase()->geoMechData() && dependGeomechView->femParts()->partCount() )
|
||||
{
|
||||
dependFemPart = dependGeomechView->femParts()->part( 0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user