Bugfix: error on Honeycomb infill

This commit is contained in:
Alessandro Ranellucci 2012-04-30 17:55:32 +02:00
parent 9a397ed869
commit 84d9368bf6
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@ sub fill_surface {
# adjust actual bounding box to the nearest multiple of our hex pattern
# and align it so that it matches across layers
my $print_bounding_box = $self->print->bounding_box;
my $print_bounding_box = [ $self->print->bounding_box ];
my $bounding_box = [ 0, 0, $print_bounding_box->[X2], $print_bounding_box->[Y2] ];
{
my $bb_polygon = Slic3r::Polygon->new([