Clean up planner modifier methods

This commit is contained in:
Scott Lahteine
2020-05-05 03:09:40 -05:00
parent 852a8d6685
commit 7a2cc782b4
3 changed files with 10 additions and 27 deletions

View File

@ -2742,11 +2742,7 @@ void Planner::set_machine_position_mm(const float &a, const float &b, const floa
void Planner::set_position_mm(const float &rx, const float &ry, const float &rz, const float &e) {
xyze_pos_t machine = { rx, ry, rz, e };
#if HAS_POSITION_MODIFIERS
apply_modifiers(machine
#if HAS_LEVELING
, true
#endif
);
apply_modifiers(machine, true);
#endif
#if IS_KINEMATIC
position_cart.set(rx, ry, rz, e);