mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-format
This commit is contained in:
parent
1caac72715
commit
cf7887ad8e
@ -1137,8 +1137,7 @@ void RimEclipseView::updateStaticCellColors( RivCellSetEnum geometryType )
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
cvf::Color4f RimEclipseView::colorFromCellCategory( RivCellSetEnum geometryType ) const
|
cvf::Color4f RimEclipseView::colorFromCellCategory( RivCellSetEnum geometryType ) const
|
||||||
{
|
{
|
||||||
float opacity =
|
float opacity = static_cast<float>( 1 - std::clamp( this->wellCollection()->wellCellTransparencyLevel(), 0.0, 1.0 ) );
|
||||||
static_cast<float>( 1 - std::clamp( this->wellCollection()->wellCellTransparencyLevel(), 0.0, 1.0 ) );
|
|
||||||
cvf::Color4f color( cvf::Color3::ORANGE );
|
cvf::Color4f color( cvf::Color3::ORANGE );
|
||||||
|
|
||||||
switch ( geometryType )
|
switch ( geometryType )
|
||||||
|
Loading…
Reference in New Issue
Block a user