Fix non-existing preferred materials and extruder trains

This was causing a crash. The extruder train had a different ID. The preferred material doesn't exist so it selects a random one that does match. I've set it to be default. The preferred quality needs to refer to the quality type.

Contributes to issue CURA-8782.
This commit is contained in:
Ghostkeeper 2021-12-17 15:42:28 +01:00
parent ce196d551a
commit 3913d1e2ba
No known key found for this signature in database
GPG Key ID: 68F39EA88EEED5FF

View File

@ -10,10 +10,10 @@
"file_formats": "text/x-gcode",
"platform": "hyper_s_platform.stl",
"has_materials": true,
"preferred_material": "*hyper_s_pla*",
"preferred_quality": "*extra*",
"preferred_material": "generic_pla",
"preferred_quality": "coarse",
"machine_extruder_trains": {
"0": "hyper_s_extruder_0"
"0": "mixware_hyper_s_extruder_0"
}
},
"overrides": {