mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Well visibility is now independent of the surface and mesh visibility, and will be visible even if both mesh and surface are turned off.
p4#: 19292
This commit is contained in:
parent
6a4f15368c
commit
2b85dbd264
@ -883,7 +883,10 @@ void RimReservoirView::updateDisplayModelVisibility()
|
|||||||
{
|
{
|
||||||
if (m_viewer.isNull()) return;
|
if (m_viewer.isNull()) return;
|
||||||
|
|
||||||
unsigned int mask = 0;
|
// Initialize the mask to show everything except the the bits controlled here
|
||||||
|
unsigned int mask = 0xffffffff & ~surfaceBit & ~faultBit & ~meshSurfaceBit & ~meshFaultBit ;
|
||||||
|
|
||||||
|
// Then turn the appropriate bits on according to the user settings
|
||||||
|
|
||||||
if (surfaceMode == SURFACE)
|
if (surfaceMode == SURFACE)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user