mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Bugfix: removed warnings. #365
This commit is contained in:
@@ -70,6 +70,13 @@ sub reverse {
|
||||
@$self = CORE::reverse @$self;
|
||||
}
|
||||
|
||||
sub length {
|
||||
my $self = shift;
|
||||
my $length = 0;
|
||||
$length += $_->length for $self->lines;
|
||||
return $length;
|
||||
}
|
||||
|
||||
sub nearest_point_to {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
|
||||
Reference in New Issue
Block a user