mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Many changes and fixes to remove leaks and return objects by reference
This commit is contained in:
parent
275422fac7
commit
a49dc603cc
27 changed files with 67 additions and 46 deletions
|
@ -14,6 +14,7 @@ use Slic3r::Geometry qw(scale);
|
|||
my $gcodegen = Slic3r::GCode->new(
|
||||
config => Slic3r::Config->new_from_defaults,
|
||||
layer_count => 1,
|
||||
extruders => [],
|
||||
);
|
||||
$gcodegen->set_shift(10, 10);
|
||||
is_deeply $gcodegen->last_pos->arrayref, [scale -10, scale -10], 'last_pos is shifted correctly';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue