JSON: wall line count should be 1 for magic spiralize (CURA-961)

This commit is contained in:
Tim Kuipers 2016-02-29 16:14:46 +01:00
parent f0b37d71cc
commit f8d7b9ddfa

View file

@ -366,7 +366,7 @@
"min_value": "0",
"type": "int",
"visible": false,
"inherit_function": "max(1, round((wall_thickness - wall_line_width_0) / wall_line_width_x) + 1)"
"inherit_function": "1 if magic_spiralize else max(1, round((wall_thickness - wall_line_width_0) / wall_line_width_x) + 1)"
}
}
},