Merge branch 'maintenance' into devel

This commit is contained in:
GitHub Nightly Merge Action committed 2022-07-19 00:15:18 +00:00
commit 378839891e
1 file changed
+1 -1
+1 -1
View File
@@ -547,7 +547,7 @@ class gcode:
startAngle = math.atan2(oldPos.y - centerArc.y, oldPos.x - centerArc.x)
endAngle = math.atan2(pos.y - centerArc.y, pos.x - centerArc.x)
if gcode == "G2":
if gcode in ("G2", "G02"):
startAngle, endAngle = endAngle, startAngle
if startAngle < 0:
startAngle += math.pi * 2