mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#2177 Active property filters now considered when evaluation well visibility
This commit is contained in:
1 parent
8608e00b35
commit
03aaa47a60
1 file changed
+4
-2
@@ -45,6 +45,7 @@
|
||||
#include "RigEclipseCaseData.h"
|
||||
#include "RigMainGrid.h"
|
||||
#include "RigActiveCellInfo.h"
|
||||
#include "RimPropertyFilterCollection.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT(RimSimWellInView, "Well");
|
||||
|
||||
@@ -488,8 +489,9 @@ bool RimSimWellInView::isWellPipeVisible(size_t frameIndex) const
|
||||
if (reservoirView->crossSectionCollection()->hasActiveIntersectionForSimulationWell(this))
|
||||
return true;
|
||||
|
||||
if (reservoirView->wellCollection()->showWellsIntersectingVisibleCells()
|
||||
&& reservoirView->rangeFilterCollection()->hasActiveFilters())
|
||||
if ( reservoirView->wellCollection()->showWellsIntersectingVisibleCells()
|
||||
&& ( reservoirView->rangeFilterCollection()->hasActiveFilters()
|
||||
|| reservoirView->propertyFilterCollection()->hasActiveFilters()) )
|
||||
{
|
||||
return intersectsDynamicWellCellsFilteredCells(frameIndex);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user