mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Add extruder stack only when it's completely built
Probably better for concurrency reasons, though that is not a problem yet at this moment. Contributes to issues CURA-1278 and CURA-351.
This commit is contained in:
parent
bfc880b61a
commit
79c37d667e
1 changed files with 2 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ 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)
|
||||
|
||||
|
|
@ -81,6 +80,8 @@ class Extruder:
|
|||
|
||||
self._container_stack.setNextStack(UM.Application.getInstance().getGlobalContainerStack())
|
||||
|
||||
container_registry.addContainer(self._container_stack)
|
||||
|
||||
definition_changed = UM.Signal()
|
||||
material_changed = UM.Signal()
|
||||
name_changed = UM.Signal()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue