JSON: made top_layers default coincide with its inherited value when parent is set to default

This commit is contained in:
Tim Kuipers 2015-10-07 09:39:23 +02:00
parent f9be4def09
commit d5e646ce3d

View File

@ -301,7 +301,7 @@
"label": "Top Layers", "label": "Top Layers",
"description": "This controls the amount of top layers.", "description": "This controls the amount of top layers.",
"min_value": "0", "min_value": "0",
"default": 6, "default": 8,
"type": "int", "type": "int",
"visible": false, "visible": false,
"inherit_function": "0 if infill_sparse_density == 100 else math.ceil(parent_value / layer_height)" "inherit_function": "0 if infill_sparse_density == 100 else math.ceil(parent_value / layer_height)"