mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1189 Do not consider well cells when controlling pipe/sphere visibilities
This commit is contained in:
parent
ec7e892395
commit
0061067aa7
@ -166,6 +166,17 @@ bool RimEclipseWell::intersectsVisibleCells(size_t frameIndex) const
|
||||
|
||||
for (const RivCellSetEnum& visGridPart : visGridParts)
|
||||
{
|
||||
if ( visGridPart == ALL_WELL_CELLS
|
||||
|| visGridPart == VISIBLE_WELL_CELLS
|
||||
|| visGridPart == VISIBLE_WELL_FENCE_CELLS
|
||||
|| visGridPart == VISIBLE_WELL_CELLS_OUTSIDE_RANGE_FILTER
|
||||
|| visGridPart == VISIBLE_WELL_FENCE_CELLS_OUTSIDE_RANGE_FILTER
|
||||
)
|
||||
{
|
||||
// Exclude all cells related to well cells
|
||||
continue;
|
||||
}
|
||||
|
||||
// First check the wellhead:
|
||||
|
||||
size_t gridIndex = wrsf.m_wellHead.m_gridIndex;
|
||||
|
@ -219,11 +219,6 @@ RimEclipseWellCollection::~RimEclipseWellCollection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseWellCollection::setShowWellCellsState(bool enable)
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
showWellsIntersectingVisibleCells = false;
|
||||
}
|
||||
|
||||
for (RimEclipseWell* w : wells)
|
||||
{
|
||||
w->showWellCells = enable;
|
||||
|
Loading…
Reference in New Issue
Block a user