#6007 Reload facies properties when project is reopened.

This commit is contained in:
Kristian Bendiksen
2020-06-03 12:48:57 +02:00
committed by Magne Sjaastad
parent 38ec6e5069
commit 466827e7d0
9 changed files with 193 additions and 74 deletions

View File

@@ -52,6 +52,8 @@
#include "RimEclipseView.h"
#include "RimFlowPlotCollection.h"
#include "RimFormationNamesCollection.h"
#include "RimFractureModel.h"
#include "RimFractureModelCollection.h"
#include "RimFractureTemplateCollection.h"
#include "RimGeoMechCase.h"
#include "RimGeoMechCellColors.h"
@@ -93,6 +95,7 @@
#include "RimWellPathFracture.h"
#include "RimWellPltPlot.h"
#include "RimWellRftPlot.h"
#include "RimWellPath.h"
#include "Riu3DMainWindowTools.h"
#include "RiuViewer.h"
@@ -514,6 +517,17 @@ bool RiaApplication::loadProject( const QString& projectFileName,
{
oilField->wellPathCollection->loadDataAndUpdate();
oilField->wellPathCollection->readWellPathFormationFiles();
for ( RimWellPath* wellPath : oilField->wellPathCollection->wellPaths() )
{
RimFractureModelCollection* fractureModelCollection = wellPath->fractureModelCollection();
if ( fractureModelCollection )
{
for ( RimFractureModel* fractureModel : fractureModelCollection->allFractureModels() )
{
fractureModel->loadDataAndUpdate();
}
}
}
}
}