Bugfix: flow wasn't adjusted for first layer according to its height setting. #182

This commit is contained in:
Alessandro Ranellucci 2012-01-30 14:03:12 +01:00
parent 4a9672bd88
commit eb33c03926
2 changed files with 8 additions and 1 deletions

View file

@ -128,7 +128,7 @@ sub extrude_path {
# calculate extrusion length per distance unit
my $s = $path->flow_spacing || $Slic3r::flow_spacing;
my $h = $path->depth_layers * $Slic3r::layer_height;
my $h = $path->depth_layers * $self->layer->height;
my $w = ($s - $Slic3r::min_flow_spacing * $Slic3r::overlap_factor) / (1 - $Slic3r::overlap_factor);
my $area;