Skip to content

Commit

Permalink
Fix resolve logic for adhesion_type
Browse files Browse the repository at this point in the history
Pick the most "sticky" option of all the enabled extruders for `adhesion_type`
  • Loading branch information
Frederic98 committed Sep 9, 2024
1 parent 6cf55cd commit 12e681e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/definitions/fdmprinter.def.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 12e681e

Please sign in to comment.