mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#777) Show default summary curves when importing an Eclipse case with summary data
This commit is contained in:
@@ -75,6 +75,8 @@
|
||||
#include "RiuSelectionManager.h"
|
||||
#include "RiuViewer.h"
|
||||
|
||||
#include "SummaryPlotCommands/RicNewSummaryPlotFeature.h"
|
||||
|
||||
#include "cafAppEnum.h"
|
||||
#include "cafCeetronPlusNavigation.h"
|
||||
#include "cafEffectCache.h"
|
||||
@@ -810,7 +812,15 @@ bool RiaApplication::openEclipseCase(const QString& caseName, const QString& cas
|
||||
if(sumCaseColl)
|
||||
{
|
||||
RimGridSummaryCase* newSumCase = sumCaseColl->createAndAddSummaryCaseFromEclipseResultCase(rimResultReservoir);
|
||||
if(newSumCase) newSumCase->loadCase();
|
||||
if (newSumCase)
|
||||
{
|
||||
newSumCase->loadCase();
|
||||
|
||||
RimMainPlotCollection* mainPlotColl = m_project->mainPlotCollection();
|
||||
RimSummaryPlotCollection* summaryPlotColl = mainPlotColl->summaryPlotCollection();
|
||||
|
||||
RicNewSummaryPlotFeature::createNewSummaryPlot(summaryPlotColl, newSumCase);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user