mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-21 13:19:37 +08:00
3mf project files saved with an abstract printer would crash on loading when selecting a non abstract printer to load the project with.
This was because the metadata "is_abstract_machine" was being loaded into the non abstract machine. This caused a crash in MachineListModel.py by trying to delete this non abstract machine from a list where it didn't exist. The solution is to ignore the "is_abstract_machine" metadata when loading settings from saved machines in 3mf files. CURA-9711
This commit is contained in:
parent
6ae88f1181
commit
8e56631972
@ -53,6 +53,7 @@ _ignored_machine_network_metadata = {
|
||||
"connection_type",
|
||||
"capabilities",
|
||||
"octoprint_api_key",
|
||||
"is_abstract_machine"
|
||||
} # type: Set[str]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user