cura: update to 4.12.1.

This commit is contained in:
Karl Nilsson 2021-11-18 16:08:00 -05:00 committed by Érico Nogueira Rolim
parent 462e302b21
commit 245977d027
2 changed files with 15 additions and 2 deletions

View file

@ -0,0 +1,13 @@
diff --git a/cura/Arranging/Nest2DArrange.py b/cura/Arranging/Nest2DArrange.py
index c29a0648d..dad67ba16 100644
--- a/cura/Arranging/Nest2DArrange.py
+++ b/cura/Arranging/Nest2DArrange.py
@@ -91,7 +91,7 @@ def findNodePlacement(nodes_to_arrange: List["SceneNode"], build_volume: "BuildV
if hull_polygon is not None and hull_polygon.getPoints() is not None and len(hull_polygon.getPoints()) > 2: # numpy array has to be explicitly checked against None
for point in hull_polygon.getPoints():
- converted_points.append(Point(point[0] * factor, point[1] * factor))
+ converted_points.append(Point(int(point[0] * factor), int(point[1] * factor)))
item = Item(converted_points)
item.markAsFixedInBin(0)
node_items.append(item)

View file

@ -1,6 +1,6 @@
# Template file for 'cura'
pkgname=cura
version=4.12.0
version=4.12.1
revision=1
wrksrc="Cura-${version}"
build_style=cmake
@ -18,4 +18,4 @@ maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Ultimaker/Cura"
distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz"
checksum=ebbc00c792dca1365aa2a83c5e20b2c5973a47c2e24f1338e56fd48aac960d38
checksum=98be51c664e75cb67d589c32d66e516a96bfe78829ded38d8be57128378d5a72