Renamed shift_x and shift_y into origin
This commit is contained in:
parent
7f57f007cd
commit
36c1a9d20c
5 changed files with 28 additions and 24 deletions
|
@ -17,7 +17,7 @@ use Slic3r::Test;
|
|||
layer_count => 1,
|
||||
extruders => [],
|
||||
);
|
||||
$gcodegen->set_shift(10, 10);
|
||||
$gcodegen->set_origin(Slic3r::Pointf->new(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