mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
We now also write with the preferedSuffix
CURA-1263
This commit is contained in:
parent
e3eb75ab6e
commit
8a67f44cf0
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|||
if type(container) == type(ContainerRegistry.getInstance().getEmptyInstanceContainer()):
|
||||
return # Empty file, do nothing.
|
||||
|
||||
file_suffix = ContainerRegistry.getMimeTypeForContainer(type(container)).suffixes[0]
|
||||
file_suffix = ContainerRegistry.getMimeTypeForContainer(type(container)).preferredSuffix
|
||||
|
||||
# Some containers have a base file, which should then be the file to use.
|
||||
if "base_file" in container.getMetaData():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue