mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3642 Make sure cell visibility storage is cleared when LGRs are created.
* This fixes data corruption causing both #3632 and #3643.
This commit is contained in:
parent
cfb45f674a
commit
8ebfe074f1
@ -819,7 +819,7 @@ void RimEclipseView::onLoadDataAndUpdate()
|
||||
|
||||
this->faultCollection()->syncronizeFaults();
|
||||
|
||||
m_reservoirGridPartManager->clearGeometryCache();
|
||||
scheduleReservoirGridGeometryRegen();
|
||||
m_simWellsPartManager->clearGeometryCache();
|
||||
|
||||
syncronizeWellsWithResults();
|
||||
@ -1000,6 +1000,7 @@ void RimEclipseView::scheduleGeometryRegen(RivCellSetEnum geometryType)
|
||||
void RimEclipseView::scheduleReservoirGridGeometryRegen()
|
||||
{
|
||||
m_reservoirGridPartManager->clearGeometryCache();
|
||||
m_currentReservoirCellVisibility = nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user