Remove usage of deprecated extruders property

Use extruderList instead.

Done during Turbo Testing and Tooling.
This commit is contained in:
Ghostkeeper 2020-05-29 17:42:18 +02:00
parent da61096efe
commit 1fb78d23a5
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -51,7 +51,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
self._writeContainerToArchive(container, archive)
# Check if the machine has extruders and save all that data as well.
for extruder_stack in global_stack.extruders.values():
for extruder_stack in global_stack.extruderList:
self._writeContainerToArchive(extruder_stack, archive)
for container in extruder_stack.getContainers():
self._writeContainerToArchive(container, archive)