From 7eeae4db87f3f6e860c2bc4faab79af50c59e484 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Tue, 7 Sep 2021 14:54:57 +0200 Subject: [PATCH] Enable infill pattern via infill line distance instead. Fixes an issue where, when the global infill density was 0, and the settings for a mesh overlap changed the infill line distance (but not outright the density), the infill pattern would be disabled in the mesh overlap settings. (You still will need to select both the density and line width to actually change the line width though.) Relates to github issue Cura/10349 (not explicity linking it here, as it might close that issue then, while it shouldn't as most sub-issues in there are still unresolved one way or the other. --- resources/definitions/fdmprinter.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 1e00f80f5e..abdb03c5b0 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1909,7 +1909,7 @@ "gyroid": "Gyroid" }, "default_value": "grid", - "enabled": "infill_sparse_density > 0", + "enabled": "infill_line_distance > 0", "value": "'lines' if infill_sparse_density > 25 else 'grid'", "limit_to_extruder": "infill_extruder_nr", "settable_per_mesh": true