JSON fix: regular fan speed at layer inherit function was a bit off

This commit is contained in:
Tim Kuipers 2016-05-04 14:07:46 +02:00
parent 4ef9c1a3e7
commit a0838256e2

View file

@ -1121,7 +1121,7 @@
"min_value": "0",
"max_value_warning": "100",
"visible": false,
"inherit_function": "int((parent_value - layer_height_0 + 0.001) / layer_height) + 1",
"inherit_function": "max(0, int(round((parent_value - layer_height_0) / layer_height, 0)))",
"global_only": "True"
}
}