mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Bugfix: removed warnings. #365
This commit is contained in:
parent
44c5c5be5b
commit
2a6ad2f3f7
3 changed files with 12 additions and 2 deletions
|
@ -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) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue