move: Keep abs/rel coordinates. Closes #106

This commit is contained in:
Jordan Ruthe 2021-03-05 00:20:26 -05:00
parent 78fd11c4f1
commit 8c7d9726d7

View File

@ -129,5 +129,6 @@ class MovePanel(ScreenPanel):
print("%s\n%s %s%s" % (KlippyGcodes.MOVE_RELATIVE, KlippyGcodes.MOVE, axis, dist))
self._screen._ws.klippy.gcode_script(
"%s\n%s %s%s" % (KlippyGcodes.MOVE_RELATIVE, KlippyGcodes.MOVE, axis, dist)
"%s\n%s %s%s%s" % (KlippyGcodes.MOVE_RELATIVE, KlippyGcodes.MOVE, axis, dist,
"\nG90" if self._printer.get_stat("gcode_move", "absolute_coordinates") == True else "")
)