mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Do not show well cells when wells are turned off
Renaming p4#: 22141
This commit is contained in:
@@ -153,7 +153,7 @@ bool RimWell::calculateWellPipeVisibility(size_t frameIndex)
|
||||
|| frameIndex >= this->wellResults()->m_wellCellsTimeSteps.size())
|
||||
return false;
|
||||
|
||||
if (!m_reservoirView->wellCollection()->active())
|
||||
if (!m_reservoirView->wellCollection()->isActive())
|
||||
return false;
|
||||
|
||||
if (m_reservoirView->wellCollection()->wellPipeVisibility() == RimWellCollection::PIPES_FORCE_ALL_ON)
|
||||
|
||||
Reference in New Issue
Block a user