Arch: touch Axis when key property change

This allow experimental wall to auto align to the new axis position.
This commit is contained in:
carlopav
2020-07-19 17:41:26 +02:00
committed by Yorik van Havre
parent e82f7f74f4
commit 6731ade086

View File

@@ -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):