mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Explictly import Extruder/Global stack
For some reason, things were not being imported properly. This fixes that.
This commit is contained in:
parent
3ee3e0aee3
commit
f32f8b60df
1 changed files with 4 additions and 4 deletions
|
@ -16,8 +16,8 @@ from UM.Platform import Platform
|
|||
from UM.PluginRegistry import PluginRegistry #For getting the possible profile writers to write with.
|
||||
from UM.Util import parseBool
|
||||
|
||||
from cura.Settings.ExtruderManager import ExtruderManager
|
||||
from cura.Settings.ContainerManager import ContainerManager
|
||||
from . import ExtruderStack
|
||||
from . import GlobalStack
|
||||
|
||||
from UM.i18n import i18nCatalog
|
||||
catalog = i18nCatalog("cura")
|
||||
|
@ -303,9 +303,9 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
|
||||
new_stack = None
|
||||
if container_type == "extruder_train":
|
||||
new_stack = ExtruderStack(container.getId())
|
||||
new_stack = ExtruderStack.ExtruderStack(container.getId())
|
||||
else:
|
||||
new_stack = GlobalStack(container.getId())
|
||||
new_stack = GlobalStack.GlobalStack(container.getId())
|
||||
|
||||
container_contents = container.serialize()
|
||||
new_stack.deserialize(container_contents)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue