mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 20:29:10 +08:00
CURA-4581 The project name is cached instead of set
This commit is contained in:
parent
43f339f927
commit
feb0a08fd9
@ -902,7 +902,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||||||
base_file_name = os.path.basename(file_name)
|
base_file_name = os.path.basename(file_name)
|
||||||
if base_file_name.endswith(".curaproject.3mf"):
|
if base_file_name.endswith(".curaproject.3mf"):
|
||||||
base_file_name = base_file_name[:base_file_name.rfind(".curaproject.3mf")]
|
base_file_name = base_file_name[:base_file_name.rfind(".curaproject.3mf")]
|
||||||
Application.getInstance().projectFileLoaded.emit(base_file_name)
|
self.setWorkspaceName(base_file_name)
|
||||||
return nodes
|
return nodes
|
||||||
|
|
||||||
## HACK: Replaces the material container in the given stack with a newly created material container.
|
## HACK: Replaces the material container in the given stack with a newly created material container.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user