Cast bounding box to ints

The version of Sip we're using now cares about this more than the previous one, apparently.

Contributes to issue CURA-8592.
This commit is contained in:
Ghostkeeper 2022-01-03 17:32:33 +01:00
parent 9118f20193
commit 652043e1d8
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -40,7 +40,7 @@ def findNodePlacement(nodes_to_arrange: List["SceneNode"], build_volume: "BuildV
machine_width = build_volume.getWidth()
machine_depth = build_volume.getDepth()
build_plate_bounding_box = Box(machine_width * factor, machine_depth * factor)
build_plate_bounding_box = Box(int(machine_width * factor), int(machine_depth * factor))
if fixed_nodes is None:
fixed_nodes = []