Fix inherit function for infill line distance

For some reason using parent value here creates odd override bugs
This commit is contained in:
Arjen Hiemstra 2015-10-16 11:12:39 +02:00
parent 4ffbfcf69f
commit c1eab9c3a3

View file

@ -256,7 +256,6 @@
"min_value_warning": "0.2",
"max_value_warning": "5",
"type": "float",
"inherit_function": "parent_value",
"visible": false,
"children": {
"wall_line_count": {
@ -454,7 +453,7 @@
"type": "float",
"default": 2,
"visible": false,
"inherit_function": "0 if parent_value == 0 else (infill_line_width * 100) / parent_value"
"inherit_function": "0 if infill_sparse_density == 0 else (infill_line_width * 100) / infill_sparse_density"
}
}
},
@ -505,7 +504,7 @@
"type": "int",
"default": 1,
"visible": false,
"inherit_function": "math.floor((parent_value + 0.001) / layer_height)"
"inherit_function": "math.floor(( parent_value + 0.001) / layer_height)"
}
}
},