Arch: fixed bug in Schedule

This commit is contained in:
Yorik van Havre
2018-11-12 14:28:43 -02:00
parent 943b9970cc
commit 401dbc53dc

View File

@@ -127,6 +127,7 @@ class _ArchSchedule:
if objs:
objs = objs.split(";")
objs = [FreeCAD.ActiveDocument.getObject(o) for o in objs]
objs = [obj for obj in objs if obj != None]
else:
objs = FreeCAD.ActiveDocument.Objects
if len(objs) == 1: