Skip to content

Commit

Permalink
[ArchWall] Do not copy shape
Browse files Browse the repository at this point in the history
  • Loading branch information
paullee0 authored and chennes committed Dec 8, 2021
1 parent 62c8125 commit ea25f69
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Mod/Arch/ArchWall.py
Expand Up @@ -832,8 +832,7 @@ def execute(self,obj):
# let pass invalid objects if they have solids...
return
elif obj.Base.Shape.Solids:
base = obj.Base.Shape.copy()

base = Part.Shape(obj.Base.Shape)
# blocks calculation
elif hasattr(obj,"MakeBlocks") and hasattr(self,"basewires"):
if obj.MakeBlocks and self.basewires and extdata and obj.Width and obj.Height:
Expand Down Expand Up @@ -907,9 +906,9 @@ def execute(self,obj):
rest = (interval - entires)
for i in range(entires):
if i % 2: # odd
b = blocks2.copy()
b = Part.Shape(blocks2)
else:
b = blocks1.copy()
b = Part.Shape(blocks1)
if i:
t = FreeCAD.Vector(svec)
t.multiply(i)
Expand Down

0 comments on commit ea25f69

Please sign in to comment.