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

@ -76,7 +76,7 @@ sub BUILD {
sub _build_fill_maker {
my $self = shift;
return Slic3r::Fill->new(object => $self);
return Slic3r::Fill->new(bounding_box => $self->bounding_box);
}
# This should be probably moved in Print.pm at the point where we sort Layer objects