diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-07-26 13:47:13 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-07-26 13:47:13 +0300 |
commit | e0c2611a0add638d0e8b4ad11c4f6ab0acec9b97 (patch) | |
tree | 7938ce91779aaa423a7a5efd7c2c319a8a7c502b /plugins/CuraEngineBackend | |
parent | 91850222952a425b040ae7c2fbd46906e0c80f6a (diff) | |
parent | 55af42bb466d530ba8090100c17132856c0d9309 (diff) |
Merge branch '4.2' of github.com:Ultimaker/Cura
Diffstat (limited to 'plugins/CuraEngineBackend')
-rw-r--r-- | plugins/CuraEngineBackend/StartSliceJob.py | 8 |
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: |