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:
authorJaime van Kessel <nallath@gmail.com>2019-07-26 13:47:13 +0300
committerJaime van Kessel <nallath@gmail.com>2019-07-26 13:47:13 +0300
commite0c2611a0add638d0e8b4ad11c4f6ab0acec9b97 (patch)
tree7938ce91779aaa423a7a5efd7c2c319a8a7c502b /plugins/CuraEngineBackend
parent91850222952a425b040ae7c2fbd46906e0c80f6a (diff)
parent55af42bb466d530ba8090100c17132856c0d9309 (diff)
Merge branch '4.2' of github.com:Ultimaker/Cura
Diffstat (limited to 'plugins/CuraEngineBackend')
-rw-r--r--plugins/CuraEngineBackend/StartSliceJob.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/CuraEngineBackend/StartSliceJob.py b/plugins/CuraEngineBackend/StartSliceJob.py
index 72eb21c122..b973a0775a 100644
--- a/plugins/CuraEngineBackend/StartSliceJob.py
+++ b/plugins/CuraEngineBackend/StartSliceJob.py
@@ -134,6 +134,14 @@ class StartSliceJob(Job):
self.setResult(StartJobResult.BuildPlateError)
return
+ # Wait for error checker to be done.
+ while CuraApplication.getInstance().getMachineErrorChecker().needToWaitForResult:
+ time.sleep(0.1)
+
+ if CuraApplication.getInstance().getMachineErrorChecker().hasError:
+ self.setResult(StartJobResult.SettingError)
+ return
+
# Don't slice if the buildplate or the nozzle type is incompatible with the materials
if not CuraApplication.getInstance().getMachineManager().variantBuildplateCompatible and \
not CuraApplication.getInstance().getMachineManager().variantBuildplateUsable: