cura: update to 4.12.0.

Closes: #34002 [via git-merge-pr]
This commit is contained in:
Karl Nilsson 2021-11-09 11:17:20 -05:00 committed by Andrew Benson
parent ef400b3b99
commit 52bf02062c
2 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,15 @@
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

View File

@ -1,7 +1,7 @@
# Template file for 'cura'
pkgname=cura
version=4.11.0
revision=2
version=4.12.0
revision=1
wrksrc="Cura-${version}"
build_style=cmake
configure_args="-DCURA_VERSION=${version}
@ -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=f8dcee2165141b9390c3144f2db4d7bbb0d62faf5f194e056266fa9409aa7a88
checksum=ebbc00c792dca1365aa2a83c5e20b2c5973a47c2e24f1338e56fd48aac960d38