mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Extruder stack is now saved (instead of the material being saved as the stack)
CURA-1263
This commit is contained in:
parent
1f21957cb4
commit
611572c324
1 changed files with 2 additions and 2 deletions
|
@ -62,8 +62,8 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|||
file_suffix = ContainerRegistry.getMimeTypeForContainer(type(container)).suffixes[0]
|
||||
|
||||
# Some containers have a base file, which should then be the file to use.
|
||||
base_file = container.getMetaDataEntry("base_file", None)
|
||||
if base_file:
|
||||
if "base_file" in container.getMetaData():
|
||||
base_file = container.getMetaDataEntry("base_file")
|
||||
container = ContainerRegistry.getInstance().findContainers(id = base_file)[0]
|
||||
|
||||
file_name = "Cura/%s.%s" % (container.getId(), file_suffix)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue