From b99102f2ac08a8f4d73653986faa656b0962ce53 Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sun, 15 Nov 2020 12:02:02 +0100 Subject: [PATCH] Update ArchRoof.py The processSubShapes function was wrongly called without providing the placement argument. --- src/Mod/Arch/ArchRoof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Arch/ArchRoof.py b/src/Mod/Arch/ArchRoof.py index b7c1533c7d..1fa090b2f9 100644 --- a/src/Mod/Arch/ArchRoof.py +++ b/src/Mod/Arch/ArchRoof.py @@ -806,7 +806,7 @@ class _Roof(ArchComponent.Component): base = self.shps.pop() for s in self.shps: base = base.fuse(s) - base = self.processSubShapes(obj, base) + base = self.processSubShapes(obj, base, pl) self.applyShape(obj, base, pl, allownosolid = True) ## subVolume @@ -819,7 +819,7 @@ class _Roof(ArchComponent.Component): self.sub.Placement = pl elif base: - base = self.processSubShapes(obj, base) + base = self.processSubShapes(obj, base, pl) self.applyShape(obj, base, pl, allownosolid = True) else: FreeCAD.Console.PrintMessage(translate("Arch", "Unable to create a roof"))