mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-01 14:51:01 -07:00
Refactoring: removed _islands members in Slic3r::GCode
This commit is contained in:
parent
4925b056c2
commit
5deadc8f12
6 changed files with 44 additions and 36 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue