Bugfix: wrong flow amount for solid layers. #317

This commit is contained in:
Alessandro Ranellucci 2012-04-17 09:29:41 +02:00
parent 07edf83990
commit e7558ce16c

View file

@ -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);