mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-18 05:28:34 -07:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
41dbf51e36
1 changed files with 4 additions and 0 deletions
|
|
@ -106,6 +106,10 @@ class StartSliceJob(Job):
|
||||||
if stack is None:
|
if stack is None:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
# if there are no per-object settings we don't need to check the other settings here
|
||||||
|
if stack.getTop() is None or not stack.getTop().getAllKeys():
|
||||||
|
return False
|
||||||
|
|
||||||
for key in stack.getAllKeys():
|
for key in stack.getAllKeys():
|
||||||
validation_state = stack.getProperty(key, "validationState")
|
validation_state = stack.getProperty(key, "validationState")
|
||||||
if validation_state in (ValidatorState.Exception, ValidatorState.MaximumError, ValidatorState.MinimumError, ValidatorState.Invalid):
|
if validation_state in (ValidatorState.Exception, ValidatorState.MaximumError, ValidatorState.MinimumError, ValidatorState.Invalid):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue