From 6731ade086ace35afbd9ce8667ed753683324c9a Mon Sep 17 00:00:00 2001 From: carlopav Date: Sun, 19 Jul 2020 17:41:26 +0200 Subject: [PATCH] Arch: touch Axis when key property change This allow experimental wall to auto align to the new axis position. --- src/Mod/Arch/ArchAxis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Arch/ArchAxis.py b/src/Mod/Arch/ArchAxis.py index 556839d49f..22ad01d745 100644 --- a/src/Mod/Arch/ArchAxis.py +++ b/src/Mod/Arch/ArchAxis.py @@ -246,10 +246,10 @@ class _Axis: obj.Shape = sh obj.Placement = pl - #def onChanged(self,obj,prop): + def onChanged(self,obj,prop): - # if prop in ["Angles","Distances","Placement"]: - # self.execute(obj) + if prop in ["Angles","Distances","Placement"]: + obj.touch() def __getstate__(self):