FIX: fix the error retract_length_toolchange for multi extruder

jira: STUDIO-11916
Change-Id: I3e9c0888d2b15046f76ccc8ac063080df35c3290
This commit is contained in:
zhimin.zeng 2025-04-28 13:05:12 +08:00 committed by lane.wei
parent 4358e9ce35
commit 13df84d0ae

View File

@ -179,12 +179,12 @@ double Extruder::retract_restart_extra() const
double Extruder::retract_length_toolchange() 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 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());
} }
} }