CURA-4461 Create properties to know when a buildplate is compatible or usable. Show colors indicating the compatibility. Also minor fixes

This commit is contained in:
Diego Prado Gesto 2018-01-15 18:00:49 +01:00
parent e51eaab08e
commit 0f497545bc
3 changed files with 47 additions and 2 deletions

View file

@ -123,7 +123,8 @@ class StartSliceJob(Job):
return
# Don't slice if the buildplate or the nozzle type is incompatible with the materials
if not Application.getInstance().getMachineManager().variantBuildplateCompatible:
if not Application.getInstance().getMachineManager().variantBuildplateCompatible and \
not Application.getInstance().getMachineManager().variantBuildplateUsable:
self.setResult(StartJobResult.MaterialIncompatible)
return