Keep destination updated in an aborted plan as well

When aborting the plan destination is updated anyway to reflect the latest
position. There's no use in this additional check.
This commit is contained in:
Yuri D'Elia 2019-12-03 20:17:08 +01:00
parent 063d0421ac
commit 8448b8d413

View File

@ -8415,8 +8415,6 @@ void prepare_move()
plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS], destination[E_AXIS], feedrate*feedmultiply*(1./(60.f*100.f)), active_extruder); plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS], destination[E_AXIS], feedrate*feedmultiply*(1./(60.f*100.f)), active_extruder);
#endif #endif
} }
if (waiting_inside_plan_buffer_line_print_aborted)
return;
set_current_to_destination(); set_current_to_destination();
} }