From d67c07bd47366a4a420ec8655ec1a95680a81202 Mon Sep 17 00:00:00 2001
From: Alessandro Ranellucci <aar@cpan.org>
Date: Thu, 1 Nov 2012 18:32:35 +0100
Subject: [PATCH] Fix typo causing incomplete honeycomb infill after recent
 refactoring

---
 lib/Slic3r/Fill.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Slic3r/Fill.pm b/lib/Slic3r/Fill.pm
index 03b0ef842..974b8bf39 100644
--- a/lib/Slic3r/Fill.pm
+++ b/lib/Slic3r/Fill.pm
@@ -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};
 }