Fix filtering of output MIME types removable drive

The RemovableDriveOutputDevice was selecting the preferred format to save the slice output in automatically. To select this, it was taking the intersection between the available output formats (for which there is a Writer plug-in) and the file formats that the printer supports. However if the printer supports a file format that is not supported by Cura, it would crash here because it was looking up the plug-in for a MIME type it doesn't know about. Stupid mistake. But not half as stupid as the bug I'm about to fix in the next commit.

Fixes #4827.
This commit is contained in:
Ghostkeeper 2020-09-28 11:44:19 +02:00
parent d16ab4fdd6
commit a747ca0661
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@
"0": "SV01_extruder_0"
}
},
"overrides": {
"machine_name": { "default_value": "SV01" },
"machine_extruder_count": { "default_value": 1 },