mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 21:23:15 +08:00
Use extruderList rather than extruders dictionary
The extruders dictionary has been deprecated. Done during Turbo Testing and Tooling to reduce the amount of warnings in our log.
This commit is contained in:
parent
17762cb431
commit
acc8e24cb4
@ -1214,7 +1214,7 @@ class MachineManager(QObject):
|
|||||||
if self._global_container_stack is None:
|
if self._global_container_stack is None:
|
||||||
return
|
return
|
||||||
if position is None:
|
if position is None:
|
||||||
position_list = list(self._global_container_stack.extruders.keys())
|
position_list = list(range(len(self._global_container_stack.extruderList)))
|
||||||
else:
|
else:
|
||||||
position_list = [position]
|
position_list = [position]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user