mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Switch print_z to unscaled coordinates
This commit is contained in:
parent
3bcb2f04ed
commit
51de3ce14f
5 changed files with 11 additions and 12 deletions
|
@ -16,7 +16,7 @@ sub process_layer {
|
|||
|
||||
my $new_gcode = "";
|
||||
my $layer_height = $layer->height;
|
||||
my $z = unscale($layer->print_z) - $layer_height;
|
||||
my $z = $layer->print_z - $layer_height;
|
||||
my $newlayer = 0;
|
||||
Slic3r::GCode::Reader->new(gcode => $gcode)->parse(sub {
|
||||
my ($reader, $cmd, $args, $info) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue