mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-11 04:11:47 +08:00
Use any for boolean-or over list instead of max
Max also works because it first casts every boolean to an int and then casts the result back to boolean, but any is neater. Contributes to issue CURA-2232.
This commit is contained in:
parent
482ea83284
commit
c461482765
@ -3307,7 +3307,7 @@
|
||||
"type": "bool",
|
||||
"enabled": "machine_extruder_count > 1",
|
||||
"default_value": false,
|
||||
"resolve": "max(extruderValues('prime_tower_enable'))",
|
||||
"resolve": "any(extruderValues('prime_tower_enable'))",
|
||||
"settable_per_mesh": false,
|
||||
"settable_per_extruder": false
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user