Remove offsets from soft endstops, tool change
This commit is contained in:
@ -475,14 +475,6 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
|
||||
// The newly-selected extruder XY is actually at...
|
||||
current_position[X_AXIS] += xydiff[X_AXIS];
|
||||
current_position[Y_AXIS] += xydiff[Y_AXIS];
|
||||
#if HAS_WORKSPACE_OFFSET || ENABLED(DUAL_X_CARRIAGE) || ENABLED(PARKING_EXTRUDER)
|
||||
for (uint8_t i = X_AXIS; i <= Y_AXIS; i++) {
|
||||
#if HAS_POSITION_SHIFT
|
||||
position_shift[i] += xydiff[i];
|
||||
#endif
|
||||
update_software_endstops((AxisEnum)i);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Set the new active extruder
|
||||
active_extruder = tmp_extruder;
|
||||
|
Reference in New Issue
Block a user