From 6bb424b5d16adffb1896187a0725945f9635d144 Mon Sep 17 00:00:00 2001 From: Paul Lee Date: Sat, 21 Dec 2024 17:27:25 +0800 Subject: [PATCH] [ArchStairs] Regression-fix : EnsureBase preventcreation Stairs can do without Base. Base validity is tested in code. EnsureBase() is remarked out. --- src/Mod/BIM/ArchStairs.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Mod/BIM/ArchStairs.py b/src/Mod/BIM/ArchStairs.py index b3c208239002..bf2b76b00c5a 100644 --- a/src/Mod/BIM/ArchStairs.py +++ b/src/Mod/BIM/ArchStairs.py @@ -267,8 +267,11 @@ def execute(self,obj): if self.clone(obj): return - if not self.ensureBase(obj): - return + + # Stairs can do without Base. Base validity is tested in code below. + # Remarked out ensureBase() below + #if not self.ensureBase(obj): + # return self.steps = [] self.risers = []