mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Refactored Line objects to arrayrefs
This commit is contained in:
@@ -12,6 +12,8 @@ sub new {
|
||||
} elsif ($_[0]->isa(__PACKAGE__)) {
|
||||
return $_[0];
|
||||
} else {
|
||||
use XXX;
|
||||
ZZZ "test";
|
||||
die "Invalid arguments for ${class}->new";
|
||||
}
|
||||
bless $self, $class;
|
||||
|
||||
Reference in New Issue
Block a user