When entering "Show well cells" state, do not hide wells not intersecting visible cells

This commit is contained in:
Magne Sjaastad
2017-02-06 11:07:35 +01:00
parent 06ace5d3b0
commit f186d77136

View File

@@ -219,6 +219,11 @@ RimEclipseWellCollection::~RimEclipseWellCollection()
//--------------------------------------------------------------------------------------------------
void RimEclipseWellCollection::setShowWellCellsState(bool enable)
{
if (enable)
{
showWellsIntersectingVisibleCells = false;
}
for (RimEclipseWell* w : wells)
{
w->showWellCells = enable;