Get rid of useless Slic3r::Fill instances

This commit is contained in:
Alessandro Ranellucci 2012-10-30 15:38:17 +01:00
parent cec7bf815c
commit 44d91774a6
3 changed files with 6 additions and 3 deletions

View file

@ -232,7 +232,7 @@ sub make_perimeters {
# fill gaps
{
my $filler = Slic3r::Fill->new(print => $self->layer->object->print)->filler('rectilinear');
my $filler = Slic3r::Fill::Rectilinear->new;
my $w = $self->perimeter_flow->width;
my @widths = (1.5 * $w, $w, 0.5 * $w); # worth trying 0.2 too?