mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fall back to FDMPrinter if definition can't be loaded
Some of the settings will be different. But at least it won't crash. Contributes to issue CURA-5045.
This commit is contained in:
parent
942afe2c3f
commit
e96c50a582
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
# machine definition cannot be found.
|
||||
Logger.logException("e", "Failed to deserialize definition file %s in project file %s",
|
||||
definition_container_file, file_name)
|
||||
raise
|
||||
definition_container = self._container_registry.findDefinitionContainers(id = "fdmprinter")[0] #Fall back to defaults.
|
||||
self._container_registry.addContainer(definition_container)
|
||||
Job.yieldThread()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue