Fix resolve logic for adhesion_type

Pick the most "sticky" option of all the enabled extruders for `adhesion_type`
This commit is contained in:
Frederic Meeuwissen 2024-09-09 11:53:39 +02:00
parent 6cf55cd743
commit 12e681e6ac

View file

@ -6063,7 +6063,7 @@
"none": "None"
},
"default_value": "brim",
"resolve": "extruderValue(adhesion_extruder_nr, 'adhesion_type')",
"resolve": "min(extruderValues('adhesion_type'), key=('raft', 'brim', 'skirt', 'none').index)",
"settable_per_mesh": false,
"settable_per_extruder": false
},