Removed dependency on ->object from Region.pm

This commit is contained in:
Alessandro Ranellucci 2013-11-26 18:46:48 +01:00
parent bd8c430afd
commit 57fd6ad563
4 changed files with 8 additions and 6 deletions

View file

@ -328,7 +328,7 @@ sub _fill_gaps {
return unless @$gaps;
my $filler = $self->layer->object->fill_maker->filler('rectilinear');
my $filler = Slic3r::Fill->new->filler('rectilinear');
$filler->layer_id($self->layer->id);
# we should probably use this code to handle thin walls and remove that logic from