Skip to content

Commit

Permalink
Use the actual flow spacing for clipping concentric loops
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Oct 30, 2012
1 parent 0a5016a commit 610862a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Slic3r/Fill/Concentric.pm
Expand Up @@ -63,7 +63,7 @@ sub fill_surface {
my $path = $loop->split_at_index($index);

# clip the path to avoid the extruder to get exactly on the first point of the loop
$path->clip_end(($self->layer ? $self->layer->flow->scaled_spacing : $Slic3r::flow->scaled_spacing) * &Slic3r::LOOP_CLIPPING_LENGTH_OVER_SPACING);
$path->clip_end(scale $flow_spacing * &Slic3r::LOOP_CLIPPING_LENGTH_OVER_SPACING);

push @paths, $path->points if @{$path->points};
}
Expand Down

0 comments on commit 610862a

Please sign in to comment.