From 10ec3016ef814841bd71bbfa1dfe9af38505f8d6 Mon Sep 17 00:00:00 2001 From: three_d <75747159+three-ddd@users.noreply.github.com> Date: Fri, 22 Jan 2021 19:09:18 +0100 Subject: [PATCH] Update ArchStairs.py --- src/Mod/Arch/ArchStairs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchStairs.py b/src/Mod/Arch/ArchStairs.py index 3e5ca1f039..cda3b2a5ad 100644 --- a/src/Mod/Arch/ArchStairs.py +++ b/src/Mod/Arch/ArchStairs.py @@ -1240,7 +1240,7 @@ class _Stairs(ArchComponent.Component): resLength2 = th / math.tan(a) lProfile.append(lProfile[-1].add(DraftVecUtils.scaleTo(vLength,-resLength)).add(Vector(0,0,-resHeight2))) lProfile.append(lProfile[-1].add(DraftVecUtils.scaleTo(vLength,-resLength2))) - else + else: lProfile.append(lProfile[-1].add(Vector(h.x,h.y,-resHeight2))) lProfile.append(vBase)