mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Don't unnecessarily cast to a set
The InstanceContainer version of getAllKeys was first casting to a list but I removed that, because everywhere where we were using it we were casting it directly to a set. Contributes to issue CURA-5330.
This commit is contained in:
parent
b9727a33c6
commit
75e5a185d9
4 changed files with 8 additions and 8 deletions
|
@ -427,7 +427,7 @@ class StartSliceJob(Job):
|
|||
|
||||
# Check all settings for relations, so we can also calculate the correct values for dependent settings.
|
||||
top_of_stack = stack.getTop() # Cache for efficiency.
|
||||
changed_setting_keys = set(top_of_stack.getAllKeys())
|
||||
changed_setting_keys = top_of_stack.getAllKeys()
|
||||
|
||||
# Add all relations to changed settings as well.
|
||||
for key in top_of_stack.getAllKeys():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue