mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
When entering "Show well cells" state, do not hide wells not intersecting visible cells
This commit is contained in:
@@ -219,6 +219,11 @@ RimEclipseWellCollection::~RimEclipseWellCollection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseWellCollection::setShowWellCellsState(bool enable)
|
||||
{
|
||||
if (enable)
|
||||
{
|
||||
showWellsIntersectingVisibleCells = false;
|
||||
}
|
||||
|
||||
for (RimEclipseWell* w : wells)
|
||||
{
|
||||
w->showWellCells = enable;
|
||||
|
||||
Reference in New Issue
Block a user