From 17a442635844e10a19e5bcc567a9b608222f427a Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 29 Apr 2012 18:05:23 +0200 Subject: [PATCH] Fixed regression throwing fatal error with honeycomb infill --- lib/Slic3r/Fill/Honeycomb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Fill/Honeycomb.pm b/lib/Slic3r/Fill/Honeycomb.pm index 9d46e55bd5..8f76bfd9f6 100644 --- a/lib/Slic3r/Fill/Honeycomb.pm +++ b/lib/Slic3r/Fill/Honeycomb.pm @@ -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 $bounding_box = [ 0, 0, $self->print->x_length, $self->print->y_length ]; + my $bounding_box = [ 0, 0, $self->print->total_x_length, $self->print->total_y_length ]; { my $bb_polygon = Slic3r::Polygon->new([ [ $bounding_box->[X1], $bounding_box->[Y1] ],