Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2021-07-14 18:02:55 +0300
committerGhostkeeper <rubend@tutanota.com>2021-07-14 18:05:45 +0300
commit26487c5b3147923edddde41e8b052793ffd3eda5 (patch)
tree9404244f399b84c711b1cb6b36d0579398d1e482 /plugins/CuraEngineBackend/CuraEngineBackend.py
parent399b378ba65499b04ccf25916f4b6d8d1dc23b38 (diff)
Stop slicing if an error occurred
If the user has auto-slicing enabled, this causes the indeterminate progress bar to appear. If the user doesn't have auto-slicing enabled, this causes the slice button to reappear. Both of these indicate that something has caused slicing to be interrupted. The message should make clear why. Contributes to issue CURA-6568.
Diffstat (limited to 'plugins/CuraEngineBackend/CuraEngineBackend.py')
-rwxr-xr-xplugins/CuraEngineBackend/CuraEngineBackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CuraEngineBackend/CuraEngineBackend.py b/plugins/CuraEngineBackend/CuraEngineBackend.py
index 4c0ed55bfe..ed4141c99a 100755
--- a/plugins/CuraEngineBackend/CuraEngineBackend.py
+++ b/plugins/CuraEngineBackend/CuraEngineBackend.py
@@ -937,6 +937,7 @@ class CuraEngineBackend(QObject, Backend):
)
message.actionTriggered.connect(self._reportBackendError)
message.show()
+ self.stopSlicing()
else:
Logger.log("d", "Backend finished slicing. Resetting process and socket.")
self._process = None # type: ignore