mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Improve visual appearance for depth surface
- disable intersection geometry with cell property colors - allow opacity - set default color to blue, as most user use this plane for oil-water contact
This commit is contained in:
1 parent
0fd27a3a8d
commit
64a559756f
7 files changed
+96
-5
No files matched your search
@@ -44,6 +44,10 @@ void RicNewDepthSurfaceFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
auto surface = new RimDepthSurface;
|
||||
|
||||
// As this surface is usually a oil-water contact, we set the color to blue
|
||||
surface->setColor( cvf::Color3f::BLUE );
|
||||
surface->setOpacity( true, 0.6f );
|
||||
|
||||
auto allCases = RimProject::current()->allGridCases();
|
||||
if ( !allCases.empty() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user