Performance: Improve performance when adding a summary calculation

Rebuild and update of the project tree for summary objects in Data Sources can be time consuming for large cases. Make sure the update of UI only happens when required.
This commit is contained in:
Magne Sjaastad
2024-05-08 07:06:12 +02:00
parent aae5f55dc2
commit 0ba11af5a4
4 changed files with 37 additions and 7 deletions

View File

@@ -1162,7 +1162,7 @@ void RimSummaryCaseCollection::buildMetaData()
//--------------------------------------------------------------------------------------------------
void RimSummaryCaseCollection::onCalculationUpdated()
{
m_dataVectorFolders->deleteCalculatedObjects();
m_dataVectorFolders->deleteCalculatedAddresses();
m_dataVectorFolders->updateFolderStructure( ensembleSummaryAddresses(), -1, m_ensembleId );
m_analyzer.reset();