Skip to content

Commit

Permalink
[ArchStairs] Regression-fix : EnsureBase preventcreation
Browse files Browse the repository at this point in the history
Stairs can do without Base.  Base validity is tested in code.

EnsureBase() is remarked out.
  • Loading branch information
paullee0 authored and yorikvanhavre committed Dec 24, 2024
1 parent 5957a91 commit 6bb424b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Mod/BIM/ArchStairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 6bb424b

Please sign in to comment.