mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Refactoring: removed _islands members in Slic3r::GCode
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user