CURA-4425 fix multiple objects in snapshot; the AxisAlignedBox is supposed to be read-only

This commit is contained in:
Jack Ha 2018-02-01 10:49:02 +01:00
parent c42f186812
commit b4eb2e173c

View file

@ -30,7 +30,7 @@ class Snapshot:
if bbox is None:
bbox = node.getBoundingBox()
else:
bbox += node.getBoundingBox()
bbox = bbox + node.getBoundingBox()
if bbox is None:
bbox = AxisAlignedBox()
look_at = bbox.center