mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-29 16:40:20 -05:00
Release 2025.09.0
This commit is contained in:
1 parent
c33402f5ea
commit
917136fec8
1053 files changed
+61952
-11833
No files matched your search
@@ -50,6 +50,8 @@ RimSummaryCalculation* RimSummaryCalculationCollection::createCalculation() cons
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryCalculationCollection::updateDataDependingOnCalculations()
|
||||
{
|
||||
if ( calculations().empty() ) return;
|
||||
|
||||
// Refresh data sources tree
|
||||
// Refresh meta data for all summary cases and rebuild AddressNodes in the summary tree
|
||||
RimSummaryCaseMainCollection* summaryCaseCollection = RiaSummaryTools::summaryCaseMainCollection();
|
||||
@@ -58,14 +60,13 @@ void RimSummaryCalculationCollection::updateDataDependingOnCalculations()
|
||||
{
|
||||
if ( !summaryCase ) continue;
|
||||
|
||||
if ( auto reader = summaryCase->summaryReader() )
|
||||
if ( summaryCase->showVectorItemsInProjectTree() )
|
||||
{
|
||||
reader->buildMetaData();
|
||||
|
||||
if ( summaryCase->showVectorItemsInProjectTree() )
|
||||
if ( auto reader = summaryCase->summaryReader() )
|
||||
{
|
||||
summaryCase->onCalculationUpdated();
|
||||
reader->createAndSetAddresses();
|
||||
}
|
||||
summaryCase->onCalculationUpdated();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +78,7 @@ void RimSummaryCalculationCollection::updateDataDependingOnCalculations()
|
||||
|
||||
if ( auto reader = obs->summaryReader() )
|
||||
{
|
||||
reader->buildMetaData();
|
||||
reader->createAndSetAddresses();
|
||||
obs->onCalculationUpdated();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user