1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-30 11:05:50 +00:00

Get rid of useless Slic3r::Fill instances

This commit is contained in:
Alessandro Ranellucci
2012-10-30 15:38:17 +01:00
parent cec7bf815c
commit 44d91774a6
3 changed files with 6 additions and 3 deletions
+4
View File
@@ -35,6 +35,10 @@ sub filler {
my $self = shift;
my ($filler) = @_;
if (!ref $self) {
return $FillTypes{$filler}->new;
}
if (!$self->fillers->{$filler}) {
my $f = $self->fillers->{$filler} = $FillTypes{$filler}->new;
$f->bounding_box([ $self->print->bounding_box ]) if $filler->can('bounding_box');