gcode_arcs: use correct current position from gcode
Signed-off-by: Daniel Kucera <github@danman.eu>
This commit is contained in:
parent
0a86190bae
commit
efc3335911
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue