mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Remove use of deprecated extruders property
This also removes the need to sort them, since the list is already sorted by position. Done during Turbo Testing and Tooling.
This commit is contained in:
parent
1fb78d23a5
commit
1bb4458dca
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class GCodeWriter(MeshWriter):
|
|||
data = {"global_quality": serialized}
|
||||
|
||||
all_setting_keys = flat_global_container.getAllKeys()
|
||||
for extruder in sorted(stack.extruders.values(), key = lambda k: int(k.getMetaDataEntry("position"))):
|
||||
for extruder in stack.extruderList:
|
||||
extruder_quality = extruder.qualityChanges
|
||||
if extruder_quality.getId() == "empty_quality_changes":
|
||||
# Same story, if quality changes is empty, create a new one
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue