mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Workaround: Make the type-checker understand what's going on.
This commit is contained in:
parent
270cb67480
commit
25d76aee5a
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ class StartSliceJob(Job):
|
|||
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():
|
||||
stack_top = stack.getTop()
|
||||
if stack_top is None or not stack_top.getAllKeys():
|
||||
return False
|
||||
|
||||
for key in stack.getAllKeys():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue