|
@@ -5621,12 +5621,8 @@ inline void gcode_T(uint8_t tmp_extruder) {
|
5621
|
5621
|
}
|
5622
|
5622
|
|
5623
|
5623
|
// apply Y & Z extruder offset (x offset is already used in determining home pos)
|
5624
|
|
- current_position[Y_AXIS] = current_position[Y_AXIS] -
|
5625
|
|
- extruder_offset[Y_AXIS][active_extruder] +
|
5626
|
|
- extruder_offset[Y_AXIS][tmp_extruder];
|
5627
|
|
- current_position[Z_AXIS] = current_position[Z_AXIS] -
|
5628
|
|
- extruder_offset[Z_AXIS][active_extruder] +
|
5629
|
|
- extruder_offset[Z_AXIS][tmp_extruder];
|
|
5624
|
+ current_position[Y_AXIS] -= extruder_offset[Y_AXIS][active_extruder] - extruder_offset[Y_AXIS][tmp_extruder];
|
|
5625
|
+ current_position[Z_AXIS] -= extruder_offset[Z_AXIS][active_extruder] - extruder_offset[Z_AXIS][tmp_extruder];
|
5630
|
5626
|
active_extruder = tmp_extruder;
|
5631
|
5627
|
|
5632
|
5628
|
// This function resets the max/min values - the current position may be overwritten below.
|