Draft + Arch: fixes when working without the GUI

This commit is contained in:
Yorik van Havre
2014-07-29 22:20:06 -03:00
parent 580c541005
commit b74c96dcc4
4 changed files with 18 additions and 14 deletions

View File

@@ -352,8 +352,6 @@ class Component:
def getProfiles(self,obj,noplacement=False):
"Returns the base profile(s) of this component, if applicable"
if not obj.Shape: return []
if obj.Shape.isNull(): return []
wires = []
n,l,w,h = self.getDefaultValues(obj)
if obj.Base: