Skip to content

Commit e66943b

Browse files
committed
Mark mesh as modified if "_GroupTouched" change is received, as this happens when referring geometry is changed
1 parent a5e8be0 commit e66943b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

CfdOF/Mesh/CfdMesh.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,8 @@ def updateData(self, obj, prop):
204204
analysis_obj = CfdTools.getParentAnalysisObject(obj)
205205
num_refinement_objs = len(CfdTools.getMeshRefinementObjs(obj))
206206
num_dyn_refinement_objs = (0 if CfdTools.getDynamicMeshAdaptation(obj) is None else 1)
207-
if prop == "_GroupTouched":
208-
# Ignore this notification since already accounted for during editing of
209-
# properties themselves
210-
return
211-
elif prop == "Group":
207+
print(prop)
208+
if prop == "Group":
212209
if analysis_obj and not analysis_obj.Proxy.loading:
213210
if num_refinement_objs != self.num_refinement_objs:
214211
analysis_obj.NeedsMeshRewrite = True

package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package format="1">
33
<name>CfdOF</name>
44
<description>Computational Fluid Dynamics (CFD) for FreeCAD based on OpenFOAM</description>
5-
<version>1.27.5</version>
5+
<version>1.27.6</version>
66
<maintainer email="[email protected]">Oliver Oxtoby</maintainer>
77
<license file="LICENSE">LGPL-2.0-or-later</license>
88
<url type="repository" branch="master">https://github.com/jaheyns/CfdOF</url>

0 commit comments

Comments
 (0)