gcode_arcs: use correct current position from gcode
Signed-off-by: Daniel Kucera <github@danman.eu>
This commit is contained in:
1 parent
0a86190bae
commit
efc3335911
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user