Fix typo causing incomplete honeycomb infill after recent refactoring

This commit is contained in:
Alessandro Ranellucci 2012-11-01 18:32:35 +01:00
parent 93a8391e18
commit d67c07bd47

View file

@ -41,7 +41,7 @@ sub filler {
if (!$self->fillers->{$filler}) {
my $f = $self->fillers->{$filler} = $FillTypes{$filler}->new;
$f->bounding_box([ $self->print->bounding_box ]) if $filler->can('bounding_box');
$f->bounding_box([ $self->print->bounding_box ]) if $f->can('bounding_box');
}
return $self->fillers->{$filler};
}