From 183736dd9afc711d47a2cef67cd5df8024856076 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 19 Nov 2012 12:37:05 +0100 Subject: [PATCH] Infill flow for bottom layer was calculated incorrectly when first_layer_height != layer_height --- 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 20756bdd45..7c6183083b 100644 --- a/lib/Slic3r/Fill.pm +++ b/lib/Slic3r/Fill.pm @@ -170,7 +170,7 @@ sub make_fill { : $is_solid ? ($surface->surface_type == S_TYPE_TOP ? EXTR_ROLE_TOPSOLIDFILL : EXTR_ROLE_SOLIDFILL) : EXTR_ROLE_FILL), - height => $surface->depth_layers * $Slic3r::Config->layer_height, + height => $surface->depth_layers * $layer->height, flow_spacing => $params->{flow_spacing} || (warn "Warning: no flow_spacing was returned by the infill engine, please report this to the developer\n"), ), @paths, ],