mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Fix case where an error in the stack would not prevent slicing
CURA-6680
This commit is contained in:
parent
18d1148c78
commit
8311a39f08
1 changed files with 8 additions and 0 deletions
|
@ -133,6 +133,14 @@ class StartSliceJob(Job):
|
||||||
self.setResult(StartJobResult.BuildPlateError)
|
self.setResult(StartJobResult.BuildPlateError)
|
||||||
return
|
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
|
# Don't slice if the buildplate or the nozzle type is incompatible with the materials
|
||||||
if not CuraApplication.getInstance().getMachineManager().variantBuildplateCompatible and \
|
if not CuraApplication.getInstance().getMachineManager().variantBuildplateCompatible and \
|
||||||
not CuraApplication.getInstance().getMachineManager().variantBuildplateUsable:
|
not CuraApplication.getInstance().getMachineManager().variantBuildplateUsable:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue