mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
cura: update to 4.12.1.
This commit is contained in:
parent
462e302b21
commit
245977d027
2 changed files with 15 additions and 2 deletions
13
srcpkgs/cura/patches/fix_multiply_models.patch
Normal file
13
srcpkgs/cura/patches/fix_multiply_models.patch
Normal 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)
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cura'
|
# Template file for 'cura'
|
||||||
pkgname=cura
|
pkgname=cura
|
||||||
version=4.12.0
|
version=4.12.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="Cura-${version}"
|
wrksrc="Cura-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -18,4 +18,4 @@ maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
||||||
license="LGPL-3.0-or-later"
|
license="LGPL-3.0-or-later"
|
||||||
homepage="https://github.com/Ultimaker/Cura"
|
homepage="https://github.com/Ultimaker/Cura"
|
||||||
distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz"
|
distfiles="https://github.com/Ultimaker/Cura/archive/${version}.tar.gz"
|
||||||
checksum=ebbc00c792dca1365aa2a83c5e20b2c5973a47c2e24f1338e56fd48aac960d38
|
checksum=98be51c664e75cb67d589c32d66e516a96bfe78829ded38d8be57128378d5a72
|
||||||
|
|
Loading…
Add table
Reference in a new issue