Use extruderList rather than deprecated extruders property

Done during Turbo Testing and Tooling.
This commit is contained in:
Ghostkeeper 2020-06-05 14:03:14 +02:00
parent ec62cd5671
commit 336bd2bd16
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -466,10 +466,10 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
extruder_info.intent_info = instance_container_info_dict[intent_id] extruder_info.intent_info = instance_container_info_dict[intent_id]
if not machine_conflict and containers_found_dict["machine"]: if not machine_conflict and containers_found_dict["machine"]:
if position not in global_stack.extruders: if int(position) >= len(global_stack.extrurderList):
continue continue
existing_extruder_stack = global_stack.extruders[position] existing_extruder_stack = global_stack.extruderList[int(position)]
# check if there are any changes at all in any of the container stacks. # check if there are any changes at all in any of the container stacks.
id_list = self._getContainerIdListFromSerialized(serialized) id_list = self._getContainerIdListFromSerialized(serialized)
for index, container_id in enumerate(id_list): for index, container_id in enumerate(id_list):