JSON: 100% infill bugfix: 100% infill now triggers all layers to be bottom layers

This commit is contained in:
Tim Kuipers 2015-08-18 17:14:22 +02:00
parent 56e4fb71ad
commit 6047d85c7f

View File

@ -321,7 +321,7 @@
"default": 6, "default": 6,
"type": "int", "type": "int",
"visible": false, "visible": false,
"inherit_function": "math.ceil(parent_value / layer_height)" "inherit_function": "0 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)"
} }
} }
}, },
@ -341,7 +341,7 @@
"default": 6, "default": 6,
"type": "int", "type": "int",
"visible": false, "visible": false,
"inherit_function": "math.ceil(parent_value / layer_height)" "inherit_function": "999999 if support_infill_rate == 100 else math.ceil(parent_value / layer_height)"
} }
} }
} }