mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-4425 fix multiple objects in snapshot; the AxisAlignedBox is supposed to be read-only
This commit is contained in:
parent
c42f186812
commit
b4eb2e173c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class Snapshot:
|
||||||
if bbox is None:
|
if bbox is None:
|
||||||
bbox = node.getBoundingBox()
|
bbox = node.getBoundingBox()
|
||||||
else:
|
else:
|
||||||
bbox += node.getBoundingBox()
|
bbox = bbox + node.getBoundingBox()
|
||||||
if bbox is None:
|
if bbox is None:
|
||||||
bbox = AxisAlignedBox()
|
bbox = AxisAlignedBox()
|
||||||
look_at = bbox.center
|
look_at = bbox.center
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue