mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2177 Active property filters now considered when evaluation well visibility
This commit is contained in:
parent
8608e00b35
commit
03aaa47a60
@ -45,6 +45,7 @@
|
|||||||
#include "RigEclipseCaseData.h"
|
#include "RigEclipseCaseData.h"
|
||||||
#include "RigMainGrid.h"
|
#include "RigMainGrid.h"
|
||||||
#include "RigActiveCellInfo.h"
|
#include "RigActiveCellInfo.h"
|
||||||
|
#include "RimPropertyFilterCollection.h"
|
||||||
|
|
||||||
CAF_PDM_SOURCE_INIT(RimSimWellInView, "Well");
|
CAF_PDM_SOURCE_INIT(RimSimWellInView, "Well");
|
||||||
|
|
||||||
@ -488,8 +489,9 @@ bool RimSimWellInView::isWellPipeVisible(size_t frameIndex) const
|
|||||||
if (reservoirView->crossSectionCollection()->hasActiveIntersectionForSimulationWell(this))
|
if (reservoirView->crossSectionCollection()->hasActiveIntersectionForSimulationWell(this))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (reservoirView->wellCollection()->showWellsIntersectingVisibleCells()
|
if ( reservoirView->wellCollection()->showWellsIntersectingVisibleCells()
|
||||||
&& reservoirView->rangeFilterCollection()->hasActiveFilters())
|
&& ( reservoirView->rangeFilterCollection()->hasActiveFilters()
|
||||||
|
|| reservoirView->propertyFilterCollection()->hasActiveFilters()) )
|
||||||
{
|
{
|
||||||
return intersectsDynamicWellCellsFilteredCells(frameIndex);
|
return intersectsDynamicWellCellsFilteredCells(frameIndex);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user