Arch: small bugfixes and optimisations

This commit is contained in:
Yorik van Havre
2014-08-03 15:14:33 -03:00
parent b32b227733
commit c7bfaf2ed7
5 changed files with 12 additions and 32 deletions

View File

@@ -682,9 +682,7 @@ class _Window(ArchComponent.Component):
print "Arch: Bad formatting of window parts definitions"
base = self.processSubShapes(obj,base)
if base:
if not base.isNull():
obj.Shape = base
self.applyShape(obj,base,pl)
def getSubVolume(self,obj,plac=None):
"returns a subvolume for cutting in a base object"