mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed simulation well pipe visibility error introduced in 707e8c68ab
This commit is contained in:
@@ -1108,10 +1108,9 @@ void RimEclipseView::syncronizeWellsWithResults()
|
|||||||
{
|
{
|
||||||
well = new RimEclipseWell;
|
well = new RimEclipseWell;
|
||||||
well->name = wellResults[wIdx]->m_wellName;
|
well->name = wellResults[wIdx]->m_wellName;
|
||||||
|
|
||||||
}
|
}
|
||||||
newWells.push_back(well);
|
newWells.push_back(well);
|
||||||
well->setWellIndex(wIdx);
|
|
||||||
well->setWellResults(wellResults[wIdx].p());
|
well->setWellResults(wellResults[wIdx].p());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1140,6 +1139,13 @@ void RimEclipseView::syncronizeWellsWithResults()
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->wellCollection()->sortWellsByName();
|
this->wellCollection()->sortWellsByName();
|
||||||
|
|
||||||
|
for (size_t wIdx = 0; wIdx < this->wellCollection()->wells().size(); ++wIdx)
|
||||||
|
{
|
||||||
|
this->wellCollection()->wells()[wIdx]->setWellIndex(wIdx);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user