diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2012-04-17 11:29:41 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2012-04-17 11:29:41 +0400 |
commit | e7558ce16c2c9236fd925d4b608892e9768a3217 (patch) | |
tree | f9bd73f10e6a4889b581e31b515f80fc1967950f | |
parent | 07edf8399003f5641a5f5b37d13c75002ad009b5 (diff) |
Bugfix: wrong flow amount for solid layers. #317
-rw-r--r-- | lib/Slic3r/Extruder.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Slic3r/Extruder.pm b/lib/Slic3r/Extruder.pm index 4017b0e6b..ce4b706bb 100644 --- a/lib/Slic3r/Extruder.pm +++ b/lib/Slic3r/Extruder.pm @@ -119,9 +119,9 @@ sub extrude_path { # calculate extrusion length per distance unit my $s = $path->flow_spacing - || $path->role eq 'support-material' + || ($path->role eq 'support-material' ? ($Slic3r::flow_spacing * 1.5) - : $Slic3r::flow_spacing; + : $Slic3r::flow_spacing); my $h = $path->depth_layers * $self->layer->height; my $w = ($s - $Slic3r::min_flow_spacing * $Slic3r::overlap_factor) / (1 - $Slic3r::overlap_factor); |