Merge remote-tracking branch 'remotes/origin/lm_ultimate_wipe_tower_rotation_fix'

This commit is contained in:
bubnikv 2018-06-28 13:59:19 +02:00
commit aae6cfc696

View file

@ -142,10 +142,10 @@ public:
}
m_gcode += "G1";
if (std::abs(dx) > EPSILON)
if (std::abs(rot.x - rotated_current_pos.x) > EPSILON)
m_gcode += set_format_X(rot.x);
if (std::abs(dy) > EPSILON)
if (std::abs(rot.y - rotated_current_pos.y) > EPSILON)
m_gcode += set_format_Y(rot.y);
if (e != 0.f)