|
@@ -684,8 +684,11 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) {
|
684
|
684
|
|
685
|
685
|
millis_t ManualMove::start_time = 0;
|
686
|
686
|
float ManualMove::menu_scale = 1;
|
687
|
|
- TERN_(IS_KINEMATIC, float ManualMove::offset = 0);
|
688
|
|
- TERN_(IS_KINEMATIC, bool ManualMove::processing = false);
|
|
687
|
+ #if IS_KINEMATIC
|
|
688
|
+ float ManualMove::offset = 0;
|
|
689
|
+ xyze_pos_t ManualMove::all_axes_destination = { 0 };
|
|
690
|
+ bool ManualMove::processing = false;
|
|
691
|
+ #endif
|
689
|
692
|
TERN_(MULTI_MANUAL, int8_t ManualMove::e_index = 0);
|
690
|
693
|
AxisEnum ManualMove::axis = NO_AXIS;
|
691
|
694
|
|
|
@@ -725,8 +728,12 @@ void MarlinUI::quick_feedback(const bool clear_buttons/*=true*/) {
|
725
|
728
|
#endif
|
726
|
729
|
|
727
|
730
|
// Apply a linear offset to a single axis
|
728
|
|
- destination = current_position;
|
729
|
|
- if (axis <= XYZE) destination[axis] += offset;
|
|
731
|
+ if (axis == ALL_AXES)
|
|
732
|
+ destination = all_axes_destination;
|
|
733
|
+ else if (axis <= XYZE) {
|
|
734
|
+ destination = current_position;
|
|
735
|
+ destination[axis] += offset;
|
|
736
|
+ }
|
730
|
737
|
|
731
|
738
|
// Reset for the next move
|
732
|
739
|
offset = 0;
|