Support for converting existing jobs to multi base model on loading.

This commit is contained in:
Markus Lampert
2018-09-03 21:08:10 -07:00
committed by wmayer
parent 7925da828e
commit bc871e2b8e
4 changed files with 32 additions and 21 deletions

View File

@@ -125,7 +125,7 @@ class StockFromBase(Stock):
return None
def execute(self, obj):
bb = shapeBoundBox(obj.Base.Group) if obj.Base else None
bb = shapeBoundBox(obj.Base.Group) if obj.Base and hasattr(obj.Base, 'Group') else None
PathLog.track(obj.Label, bb)
# Sometimes, when the Base changes it's temporarily not assigned when