Do not set current_position in mesh_plan_buffer_line
This is a task which _has_ to be performed by the caller, such as prepare_move().
This commit is contained in:
parent
0f6b9b4051
commit
5fa7c178b5
|
|
@ -8369,10 +8369,6 @@ void clamp_to_software_endstops(float target[3])
|
||||||
}
|
}
|
||||||
// The rest of the path.
|
// The rest of the path.
|
||||||
plan_buffer_line(x, y, z, e, feed_rate, extruder);
|
plan_buffer_line(x, y, z, e, feed_rate, extruder);
|
||||||
current_position[X_AXIS] = x;
|
|
||||||
current_position[Y_AXIS] = y;
|
|
||||||
current_position[Z_AXIS] = z;
|
|
||||||
current_position[E_AXIS] = e;
|
|
||||||
}
|
}
|
||||||
#endif // MESH_BED_LEVELING
|
#endif // MESH_BED_LEVELING
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue