mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rebuild geometry after computing new active cell info, and update views
p4#: 20821
This commit is contained in:
parent
1bf1d5a7cf
commit
208e904f57
@ -149,6 +149,15 @@ void RimStatisticalCalculation::computeStatistics()
|
||||
|
||||
RigStatistics stat(sourceCases, timeStepIndices, statisticsConfig, resultCase);
|
||||
stat.evaluateStatistics(RimDefines::DYNAMIC_NATIVE, m_resultName);
|
||||
|
||||
for (size_t i = 0; i < reservoirViews().size(); i++)
|
||||
{
|
||||
RimReservoirView* reservoirView = reservoirViews()[i];
|
||||
CVF_ASSERT(reservoirView);
|
||||
|
||||
reservoirView->scheduleGeometryRegen(RivReservoirViewPartMgr::ACTIVE);
|
||||
reservoirView->createDisplayModelAndRedraw();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -118,6 +118,7 @@ void RigStatistics::computeActiveCellUnion()
|
||||
}
|
||||
|
||||
m_destinationCase->activeCellInfo()->computeDerivedData();
|
||||
m_destinationCase->computeCachedData();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user