cura: update to 4.13.1.
This commit is contained in:
parent
04c17f113f
commit
d52bd1f3cf
3 changed files with 3 additions and 31 deletions
|
@ -1,13 +0,0 @@
|
||||||
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,15 +0,0 @@
|
||||||
diff --git a/cura/PickingPass.py b/cura/PickingPass.py
|
|
||||||
index 54e886fe6..4d6ef671d 100644
|
|
||||||
--- a/cura/PickingPass.py
|
|
||||||
+++ b/cura/PickingPass.py
|
|
||||||
@@ -72,8 +72,8 @@ class PickingPass(RenderPass):
|
|
||||||
|
|
||||||
window_size = self._renderer.getWindowSize()
|
|
||||||
|
|
||||||
- px = (0.5 + x / 2.0) * window_size[0]
|
|
||||||
- py = (0.5 + y / 2.0) * window_size[1]
|
|
||||||
+ px = int((0.5 + x / 2.0) * window_size[0])
|
|
||||||
+ py = int((0.5 + y / 2.0) * window_size[1])
|
|
||||||
|
|
||||||
if px < 0 or px > (output.width() - 1) or py < 0 or py > (output.height() - 1):
|
|
||||||
return -1
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cura'
|
# Template file for 'cura'
|
||||||
pkgname=cura
|
pkgname=cura
|
||||||
version=4.12.1
|
version=4.13.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="Cura-${version}"
|
wrksrc="Cura-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -11,11 +11,11 @@ hostmakedepends="python3"
|
||||||
makedepends="Uranium libArcus-devel python3-devel"
|
makedepends="Uranium libArcus-devel python3-devel"
|
||||||
depends="Uranium cura-engine cura-fdm-materials python3-pyserial python3-zeroconf
|
depends="Uranium cura-engine cura-fdm-materials python3-pyserial python3-zeroconf
|
||||||
python3-certifi python3-trimesh libSavitar-python3 python3-requests qt5-graphicaleffects
|
python3-certifi python3-trimesh libSavitar-python3 python3-requests qt5-graphicaleffects
|
||||||
python3-pynest2d python3-keyring"
|
python3-pynest2d python3-keyring python3-sentry libCharon"
|
||||||
checkdepends="python3-pytest python3-mypy $depends"
|
checkdepends="python3-pytest python3-mypy $depends"
|
||||||
short_desc="3D printer / slicing GUI"
|
short_desc="3D printer / slicing GUI"
|
||||||
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
|
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=98be51c664e75cb67d589c32d66e516a96bfe78829ded38d8be57128378d5a72
|
checksum=bda67f620a6245d0ddfbf6df7c2dcfdec88be152dfb7290ae06d8dcb35c4459c
|
||||||
|
|
Loading…
Reference in a new issue