Add extruder container stack to registry

Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
Ghostkeeper 2016-06-06 10:20:59 +02:00
parent 357997c984
commit bfc880b61a

View file

@ -27,6 +27,7 @@ class Extruder:
#Create a container stack for this extruder.
self._name = self._uniqueName(self._definition)
self._container_stack = UM.Settings.ContainerStack(self._name)
container_registry.addContainer(self._container_stack)
self._container_stack.addMetaDataEntry("type", "extruder_train")
self._container_stack.addContainer(self._definition)