mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 21:46:30 +01:00
Refactoring: removed _islands members in Slic3r::GCode
This commit is contained in:
1 parent
4925b056c2
commit
5deadc8f12
6 files changed
+44
-36
No files matched your search
@@ -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