Arch: trivial bugfix

This commit is contained in:
Yorik van Havre 2015-01-02 16:49:31 -02:00
parent 1dd069ec7f
commit 12afbc9ed5

View File

@ -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"