Add xsp wrapper for Pointf class.
This commit is contained in:
parent
e005ff32c4
commit
ad03a88733
3 changed files with 17 additions and 1 deletions
lib/Slic3r
|
@ -587,7 +587,7 @@ sub _G0_G1 {
|
|||
|
||||
if ($point) {
|
||||
$gcode .= sprintf " X%.3f Y%.3f",
|
||||
($point->x * &Slic3r::SCALING_FACTOR) + $self->shift_x - $self->extruder->extruder_offset->[X],
|
||||
($point->x * &Slic3r::SCALING_FACTOR) + $self->shift_x - $self->extruder->extruder_offset->[X],
|
||||
($point->y * &Slic3r::SCALING_FACTOR) + $self->shift_y - $self->extruder->extruder_offset->[Y]; #**
|
||||
$self->last_pos($point->clone);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue