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 committed 2024-05-08 07:29:18 +02:00
1 parent aae5f55dc2
commit 0ba11af5a4
4 files changed
+37 -7

No files matched your search

@@ -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();