From 86e1f2fb1173ed3071e41bf80bfaf3ae00cc4bd5 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 12 Apr 2015 15:51:16 -0500 Subject: [PATCH] Small change to actually infill every layer. Should fix #1783, but there's side effects in that there's no check against the nozzle size. Proper check would be to reduce infill_every_layers to the closest integer multiple below the nozzle size. I can't find the tooltip text either to note the possible overextrusion problem. --- lib/Slic3r/Fill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Fill.pm b/lib/Slic3r/Fill.pm index 8c63fde596..960bae89c5 100644 --- a/lib/Slic3r/Fill.pm +++ b/lib/Slic3r/Fill.pm @@ -221,7 +221,7 @@ sub make_fill { # layer height my $internal_flow = $layerm->region->flow( FLOW_ROLE_INFILL, - $layerm->layer->object->config->layer_height, # TODO: handle infill_every_layers? + $layerm->object->config->layer_height*$layerm->config->infill_every_layers, # TODO: handle infill_every_layers? 0, # no bridge 0, # no first layer -1, # auto width