From f8d7b9ddfa7775ae847a7e0c0ee946642d4c060a Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Mon, 29 Feb 2016 16:14:46 +0100 Subject: [PATCH] JSON: wall line count should be 1 for magic spiralize (CURA-961) --- resources/machines/fdmprinter.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/machines/fdmprinter.json b/resources/machines/fdmprinter.json index b90fd5348a..4e8a8fbcc7 100644 --- a/resources/machines/fdmprinter.json +++ b/resources/machines/fdmprinter.json @@ -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)" } } },