#1189 Fixed well cells visibilities when no range filters are active

This commit is contained in:
Magne Sjaastad 2017-02-08 13:31:41 +01:00
parent a736d41eb7
commit b1beacb46a

View File

@ -325,7 +325,8 @@ bool RimEclipseWell::isWellCellsVisible() const
if (reservoirView->crossSectionCollection()->hasActiveIntersectionForSimulationWell(this))
return true;
if (reservoirView->wellCollection()->showWellsIntersectingVisibleCells())
if (reservoirView->wellCollection()->showWellsIntersectingVisibleCells()
&& reservoirView->rangeFilterCollection()->hasActiveFilters())
{
return intersectsStaticWellCellsFilteredCells();
}