Refactoring: removed _islands members in Slic3r::GCode

This commit is contained in:
Alessandro Ranellucci 2014-11-23 20:03:16 +01:00
parent 4925b056c2
commit 5deadc8f12
6 changed files with 44 additions and 36 deletions

View file

@ -16,12 +16,6 @@ sub config {
return $self->object->config;
}
# the purpose of this method is to be overridden for ::Support layers
sub islands {
my $self = shift;
return $self->slices;
}
sub region {
my $self = shift;
my ($region_id) = @_;
@ -120,12 +114,6 @@ sub make_perimeters {
}
package Slic3r::Layer::Support;
our @ISA = qw(Slic3r::Layer);
sub islands {
my $self = shift;
return [ @{$self->slices}, @{$self->support_islands} ];
}
1;