From fd6ff10212055bfc42f825308f5ebaf67007fd79 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Mon, 24 Jan 2022 16:19:05 +0100 Subject: [PATCH] Merge pull request #5388 from Roy-043/Arch-Fix-ArchWall-onBeforeChange Arch: Fix ArchWall onBeforeChange --- src/Mod/Arch/ArchWall.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index 78f1d2afe6..87eb55c4c7 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -977,6 +977,8 @@ class _Wall(ArchComponent.Component): If "Length" has changed, record the old length so that .onChanged() can be sure that the base needs to be changed. + Also call ArchComponent.Component.onBeforeChange(). + Parameters ---------- prop: string @@ -985,6 +987,7 @@ class _Wall(ArchComponent.Component): if prop == "Length": self.oldLength = obj.Length.Value + ArchComponent.Component.onBeforeChange(self,obj,prop) def onChanged(self, obj, prop): """Method called when the object has a property changed.