From 0674eaefbfd4cf4c7261b9c555a8797c7f2ea11d Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 19 Jan 2018 09:49:26 +0100 Subject: [PATCH] #2141 Fracture Legend : Update model when ellipse conductivity changes --- .../Completions/RimEllipseFractureTemplate.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp b/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp index 11d33dc8a3..8e6e811b6c 100644 --- a/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp +++ b/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp @@ -80,7 +80,10 @@ void RimEllipseFractureTemplate::fieldChangedByUi(const caf::PdmFieldHandle* cha { RimFractureTemplate::fieldChangedByUi(changedField, oldValue, newValue); - if (changedField == &m_halfLength || changedField == &m_height) + if ( changedField == &m_halfLength + || changedField == &m_height + || changedField == &m_width + || changedField == &m_permeability) { //Changes to one of these parameters should change all fractures with this fracture template attached. RimProject* proj;