mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Merge branch 'feature_send_extruder_settings' of github.com:Ultimaker/Cura
This commit is contained in:
commit
1db74b00fd
4 changed files with 44 additions and 41 deletions
|
@ -191,9 +191,8 @@ class ExtruderManager(QObject):
|
|||
container_registry.addContainer(container_stack)
|
||||
|
||||
## Generates extruders for a specific machine.
|
||||
def getMachineExtruders(self, machine_definition):
|
||||
def getMachineExtruders(self, machine_id):
|
||||
container_registry = UM.Settings.ContainerRegistry.getInstance()
|
||||
machine_id = machine_definition.getId()
|
||||
if not machine_id in self._extruder_trains:
|
||||
UM.Logger.log("w", "Tried to get the extruder trains for machine %s, which doesn't exist.", machine_id)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue