Browse Source

Set correct machine name when creating a new machine from a project

CURA-4074
Lipu Fei 7 years ago
parent
commit
686ca803ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/3MFReader/ThreeMFWorkspaceReader.py

+ 1 - 1
plugins/3MFReader/ThreeMFWorkspaceReader.py

@@ -651,7 +651,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
                     stack.setMetaDataEntry("machine", global_stack_id_new)
 
                 # Only machines need a new name, stacks may be non-unique
-                stack.setName(self._container_registry.uniqueName(stack.getName()))
+                stack.setName(global_stack_id_new)
 
                 container_stacks_added.append(stack)
                 self._container_registry.addContainer(stack)