Include well cells in cell range region evaluation

p4#: 22131
This commit is contained in:
Magne Sjaastad 2013-08-08 11:26:00 +02:00
parent 69f3f98f5a
commit 8f4e6da98b

View File

@ -554,7 +554,7 @@ void RivReservoirViewPartMgr::computeRangeVisibility(ReservoirGeometryCacheType
// Initialize range filter with native visibility
if (cellVisibility != nativeVisibility) (*cellVisibility) = (*nativeVisibility);
if (rangeFilterColl->hasActiveFilters())
if (rangeFilterColl->hasActiveFilters() || m_reservoirView->wellCollection()->hasVisibleWellCells())
{
// Build range filter for current grid
cvf::CellRangeFilter gridCellRangeFilter;