Browse Source

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.
Ghostkeeper 3 years ago
parent
commit
652043e1d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Arranging/Nest2DArrange.py

+ 1 - 1
cura/Arranging/Nest2DArrange.py

@@ -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 = []