mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
Bugfix: Slic3r::GCode::Reader did not parse correctly when use_relative_e_distances was enabled. #2033
This commit is contained in:
@@ -50,6 +50,7 @@ sub parse {
|
|||||||
if ($command =~ /^G[01]$/) {
|
if ($command =~ /^G[01]$/) {
|
||||||
foreach my $axis (@AXES) {
|
foreach my $axis (@AXES) {
|
||||||
if (exists $args{$axis}) {
|
if (exists $args{$axis}) {
|
||||||
|
$self->$axis = 0 if $axis eq 'E' && $self->config->use_relative_e_distances;
|
||||||
$info{"dist_$axis"} = $args{$axis} - $self->$axis;
|
$info{"dist_$axis"} = $args{$axis} - $self->$axis;
|
||||||
$info{"new_$axis"} = $args{$axis};
|
$info{"new_$axis"} = $args{$axis};
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user