mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:55:51 +08: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
@ -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…
x
Reference in New Issue
Block a user