diff --git a/src/libslic3r/Extruder.cpp b/src/libslic3r/Extruder.cpp index 38eff5f14..23584e081 100644 --- a/src/libslic3r/Extruder.cpp +++ b/src/libslic3r/Extruder.cpp @@ -179,12 +179,12 @@ double Extruder::retract_restart_extra() const double Extruder::retract_length_toolchange() const { - return m_config->retract_length_toolchange.get_at(m_id); + return m_config->retract_length_toolchange.get_at(extruder_id()); } double Extruder::retract_restart_extra_toolchange() const { - return m_config->retract_restart_extra_toolchange.get_at(m_id); + return m_config->retract_restart_extra_toolchange.get_at(extruder_id()); } }