StimPlan Fracture : Make sure geometry is recomputed when required

This commit is contained in:
Magne Sjaastad
2018-02-14 09:35:02 +01:00
parent 302edc5677
commit 646eb8fee4
2 changed files with 2 additions and 6 deletions

View File

@@ -113,8 +113,6 @@ void RimStimPlanFractureTemplate::fieldChangedByUi(const caf::PdmFieldHandle* ch
if (&m_activeTimeStepIndex == changedField)
{
updateFractureGrid();
//Changes to this parameters should change all fractures with this fracture template attached.
RimProject* proj;
this->firstAncestorOrThisOfType(proj);
@@ -145,6 +143,8 @@ void RimStimPlanFractureTemplate::fieldChangedByUi(const caf::PdmFieldHandle* ch
|| &m_stimPlanFileName == changedField
|| &m_conductivityResultNameOnFile == changedField)
{
updateFractureGrid();
RimProject* proj;
this->firstAncestorOrThisOfType(proj);
if (proj)