From 12afbc9ed53645f161df0089b3f356286b839ec0 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 2 Jan 2015 16:49:31 -0200 Subject: [PATCH] Arch: trivial bugfix --- src/Mod/Arch/ArchWindow.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Arch/ArchWindow.py b/src/Mod/Arch/ArchWindow.py index a9b9400ce..581b62718 100644 --- a/src/Mod/Arch/ArchWindow.py +++ b/src/Mod/Arch/ArchWindow.py @@ -700,7 +700,10 @@ class _Window(ArchComponent.Component): print "Arch: Bad formatting of window parts definitions" base = self.processSubShapes(obj,base) - self.applyShape(obj,base,pl) + if base: + if not base.isNull(): + if base.Solids: + self.applyShape(obj,base,pl) def getSubVolume(self,obj,plac=None): "returns a subvolume for cutting in a base object"