From 9b4d511352f5e78a6ede5ef6ac207a6e7054bae4 Mon Sep 17 00:00:00 2001 From: paullee Date: Fri, 26 Apr 2024 02:01:08 +0800 Subject: [PATCH] [ArchWall] fix onChanged() length to support ArchSketch --- src/Mod/Arch/ArchWall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py index b1070b8faa..c6f02285a9 100644 --- a/src/Mod/Arch/ArchWall.py +++ b/src/Mod/Arch/ArchWall.py @@ -1061,7 +1061,7 @@ class _Wall(ArchComponent.Component): if Draft.getType(obj.Base) == "Wire": #print "modifying p2" obj.Base.End = p2 - elif Draft.getType(obj.Base) == "Sketcher::SketchObject": + elif Draft.getType(obj.Base) in ["Sketcher::SketchObject", "ArchSketch"]: try: obj.Base.recompute() # Fix for the 'GeoId index out range' error. obj.Base.movePoint(0, 2, obj.Base.Placement.inverse().multVec(p2))