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