Increase warning value for gradual infill steps

We set gradual infill steps to 5 if you choose Gradual Infill from recommended mode. This value was provided by the materials testers, so apparently it works fine and we shouldn't give a warning about that.

Contributes to issue CURA-3732.
This commit is contained in:
Ghostkeeper 2017-05-15 09:53:47 +02:00
parent c48017e174
commit c61baf3355
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -1323,7 +1323,7 @@
"default_value": 0,
"type": "int",
"minimum_value": "0",
"maximum_value_warning": "4",
"maximum_value_warning": "5",
"maximum_value": "0 if spaghetti_infill_enabled else (999999 if infill_line_distance == 0 else (20 - math.log(infill_line_distance) / math.log(2)))",
"enabled": "infill_sparse_density > 0 and infill_pattern != 'cubicsubdiv' and not spaghetti_infill_enabled",
"settable_per_mesh": true