mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1739 Ellipse Fracture : Recompute the fracture grid when opening project
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "RimFractureTemplateCollection.h"
|
||||
|
||||
#include "RimEllipseFractureTemplate.h"
|
||||
#include "RimFractureTemplate.h"
|
||||
#include "RimStimPlanFractureTemplate.h"
|
||||
|
||||
@@ -138,6 +139,12 @@ void RimFractureTemplateCollection::updateFilePathsFromProjectPath(const QString
|
||||
{
|
||||
stimPlanFracture->updateFilePathsFromProjectPath(newProjectPath, oldProjectPath);
|
||||
}
|
||||
|
||||
RimEllipseFractureTemplate* ellipseFracture = dynamic_cast<RimEllipseFractureTemplate*>(f);
|
||||
if (ellipseFracture)
|
||||
{
|
||||
ellipseFracture->loadDataAndUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user