Bugfix: plate was lifted even when retracting for Z change

This commit is contained in:
Alessandro Ranellucci 2011-11-28 19:59:39 +01:00
parent 3ad9ed74ae
commit 92e86a2259

View File

@ -150,7 +150,7 @@ sub retract {
# prepare moves
$self->print_feed_rate($self->retract_speed);
my $retract = [undef, undef, -$Slic3r::retract_length, "retract"];
my $lift = ($Slic3r::retract_lift == 0)
my $lift = ($Slic3r::retract_lift == 0 || defined $params{move_z})
? undef
: [undef, $self->z + $Slic3r::retract_lift, 0, 'lift plate during retraction'];