mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:25:59 +08:00
Workaround: Make the type-checker understand what's going on.
This commit is contained in:
parent
270cb67480
commit
25d76aee5a
@ -107,7 +107,8 @@ class StartSliceJob(Job):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
# if there are no per-object settings we don't need to check the other settings here
|
# 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
|
return False
|
||||||
|
|
||||||
for key in stack.getAllKeys():
|
for key in stack.getAllKeys():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user