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

@ -570,8 +570,7 @@ sub generate_support_material {
my @support_material_areas = map $_->offset_ex(- 0.5 * $flow->scaled_width),
@{union_ex([ map $_->contour, map @$_, values %layers ])};
my $fill = Slic3r::Fill->new(print => $self->print);
my $filler = $fill->filler($Slic3r::Config->support_material_pattern);
my $filler = Slic3r::Fill->filler($Slic3r::Config->support_material_pattern);
$filler->angle($Slic3r::Config->support_material_angle);
{
my @patterns = ();