mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -3307,7 +3307,7 @@
|
||||||
"type": "bool",
|
"type": "bool",
|
||||||
"enabled": "machine_extruder_count > 1",
|
"enabled": "machine_extruder_count > 1",
|
||||||
"default_value": false,
|
"default_value": false,
|
||||||
"resolve": "max(extruderValues('prime_tower_enable'))",
|
"resolve": "any(extruderValues('prime_tower_enable'))",
|
||||||
"settable_per_mesh": false,
|
"settable_per_mesh": false,
|
||||||
"settable_per_extruder": false
|
"settable_per_extruder": false
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue