mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Refactored Line objects to arrayrefs
This commit is contained in:
parent
e410410dc7
commit
c97a89c07c
10 changed files with 47 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue