mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Solved incorrect printer name after loading a project from file
CURA-4144
This commit is contained in:
parent
1c747a962f
commit
dc629f7c91
@ -656,9 +656,6 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||||||
if stack.getMetaDataEntry("machine", None):
|
if stack.getMetaDataEntry("machine", None):
|
||||||
stack.setMetaDataEntry("machine", global_stack_id_new)
|
stack.setMetaDataEntry("machine", global_stack_id_new)
|
||||||
|
|
||||||
# Only machines need a new name, stacks may be non-unique
|
|
||||||
stack.setName(global_stack_id_new)
|
|
||||||
|
|
||||||
container_stacks_added.append(stack)
|
container_stacks_added.append(stack)
|
||||||
self._container_registry.addContainer(stack)
|
self._container_registry.addContainer(stack)
|
||||||
containers_added.append(stack)
|
containers_added.append(stack)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user