From 939fcb021123611a3c97dfe266f8f229f456dc7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Skowro=C5=84ski?= Date: Wed, 6 Nov 2024 14:42:48 +0100 Subject: [PATCH] Changed NavLib to run in single threaded mode --- cura/NavlibClient.py | 2 +- requirements.txt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cura/NavlibClient.py b/cura/NavlibClient.py index e5634879cdc..f991a007d87 100644 --- a/cura/NavlibClient.py +++ b/cura/NavlibClient.py @@ -10,7 +10,7 @@ class NavlibClient(pynav.NavlibNavigationModel): def __init__(self, scene, renderer) -> None: - super().__init__(True, pynav.NavlibOptions.RowMajorOrder) + super().__init__(False, pynav.NavlibOptions.RowMajorOrder) self._scene = scene self._renderer = renderer self._pointer_pick = None diff --git a/requirements.txt b/requirements.txt index 0728d177762..1e5be40b0a7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -407,4 +407,7 @@ pywin32-ctypes==0.2.0; \ charset-normalizer==2.1.0; \ --hash=sha256:5189b6f22b01957427f35b6a08d9a0bc45b46d3788ef5a92e978433c7a35f8a5 -pynavlib==0.9.1; \ No newline at end of file +pynavlib==0.9.2; \ + sys_platform != "linux" \ + --hash=sha256:98434eff8ad122b487aea2213f0c690b2c8080e5b9d7c52c0a39702b4a1a37d9 \ + --hash=sha256:fdfcd2cfc9c3090d7b322ccd307ab8c7fa6cf46e627c5c376c672042312a40e9 \ No newline at end of file