mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
remove .curaproject from the extensions and just use .3mf
CURA-5650
This commit is contained in:
parent
49743d8e6c
commit
c48a5474f0
3 changed files with 3 additions and 13 deletions
|
@ -89,7 +89,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
MimeType(
|
||||
name="application/x-curaproject+xml",
|
||||
comment="Cura Project File",
|
||||
suffixes=["curaproject.3mf"]
|
||||
suffixes=["3mf"]
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -726,8 +726,6 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
nodes = []
|
||||
|
||||
base_file_name = os.path.basename(file_name)
|
||||
if base_file_name.endswith(".curaproject.3mf"):
|
||||
base_file_name = base_file_name[:base_file_name.rfind(".curaproject.3mf")]
|
||||
self.setWorkspaceName(base_file_name)
|
||||
return nodes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue