From 468d0eac94eacee5bc382a77229a33f376e39ed1 Mon Sep 17 00:00:00 2001 From: Florens Wasserfall Date: Fri, 1 Jul 2016 11:45:28 +0200 Subject: [PATCH] Bugfix: use Lift-z option for 2. extruder #3385 --- xs/src/libslic3r/GCodeWriter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xs/src/libslic3r/GCodeWriter.cpp b/xs/src/libslic3r/GCodeWriter.cpp index d256ab2af0..3990e83ee1 100644 --- a/xs/src/libslic3r/GCodeWriter.cpp +++ b/xs/src/libslic3r/GCodeWriter.cpp @@ -500,10 +500,10 @@ GCodeWriter::lift() // check whether the above/below conditions are met double target_lift = 0; { - double above = this->config.retract_lift_above.get_at(0); - double below = this->config.retract_lift_below.get_at(0); + double above = this->config.retract_lift_above.get_at(this->_extruder->id); + double below = this->config.retract_lift_below.get_at(this->_extruder->id); if (this->_pos.z >= above && (below == 0 || this->_pos.z <= below)) - target_lift = this->config.retract_lift.get_at(0); + target_lift = this->config.retract_lift.get_at(this->_extruder->id); } if (this->_lifted == 0 && target_lift > 0) { this->_lifted = target_lift;