mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Only list extruders in extruder manager
Let the extruders themselves take care of which profiles are attached to each. Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
parent
377fed206c
commit
60a71fcc33
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ from UM.Settings.ContainerRegistry import ContainerRegistry #Finding containers
|
||||||
class ExtruderManager:
|
class ExtruderManager:
|
||||||
## Registers listeners and such to listen to changes to the extruders.
|
## Registers listeners and such to listen to changes to the extruders.
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._extruderDefinitions = [] #Extruder definitions for the current machine.
|
self._extruders = [] #Extruders for the current machine.
|
||||||
self._nozzles = {} #Nozzle instances for each extruder.
|
|
||||||
self._extruderTrains = [] #Container stacks for each of the extruder trains.
|
|
||||||
|
|
||||||
Application.getInstance().getGlobalContainerStack().containersChanged.connect(self._reloadExtruders) #When the current machine changes, we need to reload all extruders belonging to the new machine.
|
Application.getInstance().getGlobalContainerStack().containersChanged.connect(self._reloadExtruders) #When the current machine changes, we need to reload all extruders belonging to the new machine.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue