diff options
author | Daniel Kucera <github@danman.eu> | 2019-12-12 20:56:57 +0000 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-12-18 12:42:40 -0500 |
commit | efc33359115ca7e6fbdd77e43be62492f9188a5b (patch) | |
tree | 1670c50a95cae928ffc083641148c8fd9834411c /klippy | |
parent | 0a86190bae46a22a493f447075ab7713fd6ae9ed (diff) | |
download | kutter-efc33359115ca7e6fbdd77e43be62492f9188a5b.tar.gz kutter-efc33359115ca7e6fbdd77e43be62492f9188a5b.tar.xz kutter-efc33359115ca7e6fbdd77e43be62492f9188a5b.zip |
gcode_arcs: use correct current position from gcode
Signed-off-by: Daniel Kucera <github@danman.eu>
Diffstat (limited to 'klippy')
-rw-r--r-- | klippy/extras/gcode_arcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/gcode_arcs.py b/klippy/extras/gcode_arcs.py index 3c5070f6..1f6f0040 100644 --- a/klippy/extras/gcode_arcs.py +++ b/klippy/extras/gcode_arcs.py @@ -30,7 +30,7 @@ class ArcSupport: def cmd_G2(self, params): # set vars - currentPos = self.printer.lookup_object('toolhead').get_position() + currentPos = self.gcode.get_status(None)['gcode_position'] asX = params.get("X", None) asY = params.get("Y", None) |