mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 17:45:56 +08:00
Remove iterability from ExtruderManager
This is no longer used. Contributes to issues CURA-1278 and CURA-340.
This commit is contained in:
parent
227c0f9f8c
commit
c5b07debdc
@ -23,15 +23,8 @@ class ExtruderManager(QObject):
|
|||||||
def __init__(self, parent = None):
|
def __init__(self, parent = None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self._extruder_trains = { } #Extruders for the current machine.
|
self._extruder_trains = { } #Extruders for the current machine.
|
||||||
self._next_item = 0 #For when you use this class as iterator.
|
|
||||||
self._active_extruder_index = 0
|
self._active_extruder_index = 0
|
||||||
|
|
||||||
## Creates an iterator over the extruders in this manager.
|
|
||||||
#
|
|
||||||
# \return An iterator over the extruders in this manager.
|
|
||||||
def __iter__(self):
|
|
||||||
return iter(self._extruders)
|
|
||||||
|
|
||||||
## Gets the unique identifier of the currently active extruder stack.
|
## Gets the unique identifier of the currently active extruder stack.
|
||||||
#
|
#
|
||||||
# The currently active extruder stack is the stack that is currently being
|
# The currently active extruder stack is the stack that is currently being
|
||||||
|
Loading…
x
Reference in New Issue
Block a user