mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-20 01:29:04 +08:00
Pass definition to _uniqueName instead of name
This function expects the entire definition. Contributes to issueS CURA-1278 and CURA-351.
This commit is contained in:
parent
9b2acf0317
commit
b4782e9b12
@ -25,7 +25,7 @@ class Extruder:
|
|||||||
self._nozzles += container_registry.findInstanceContainers(type = "nozzle", definitions = self._definition.getId())
|
self._nozzles += container_registry.findInstanceContainers(type = "nozzle", definitions = self._definition.getId())
|
||||||
|
|
||||||
#Create a container stack for this extruder.
|
#Create a container stack for this extruder.
|
||||||
self._name = self._uniqueName(self._definition.getId())
|
self._name = self._uniqueName(self._definition)
|
||||||
self._container_stack = UM.Settings.ContainerStack(self._name)
|
self._container_stack = UM.Settings.ContainerStack(self._name)
|
||||||
self._container_stack.addMetaDataEntry("type", "extruder_train")
|
self._container_stack.addMetaDataEntry("type", "extruder_train")
|
||||||
self._container_stack.addContainer(self._definition)
|
self._container_stack.addContainer(self._definition)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user