From 312bb285a07166d89b4c59670f63003d12807428 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 18 Apr 2013 18:37:46 +0200 Subject: [PATCH] Fix initialization of Rectilinear filler --- lib/Slic3r/Layer/Region.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Slic3r/Layer/Region.pm b/lib/Slic3r/Layer/Region.pm index fa8b3ad34f..b06904c383 100644 --- a/lib/Slic3r/Layer/Region.pm +++ b/lib/Slic3r/Layer/Region.pm @@ -269,7 +269,10 @@ sub make_perimeters { # fill gaps if ($Slic3r::Config->gap_fill_speed > 0 && $Slic3r::Config->fill_density > 0 && @gaps) { - my $filler = Slic3r::Fill::Rectilinear->new(layer_id => $self->layer->id); + my $filler = Slic3r::Fill::Rectilinear->new( + bounding_box => [ $self->layer->object->print->bounding_box ], + layer_id => $self->layer->id, + ); # we should probably use this code to handle thin walls and remove that logic from # make_surfaces(), but we need to enable dynamic extrusion width before as we can't