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:
Ghostkeeper 2016-09-16 11:41:14 +02:00
parent 482ea83284
commit c461482765
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

@ -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
},