Skip to content

Commit

Permalink
馃悰 gcode viewer: Fix swapped G2/G3
Browse files Browse the repository at this point in the history
Closes #3334
  • Loading branch information
foosel committed Nov 8, 2019
1 parent 01feec4 commit 8173f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/octoprint/static/gcodeviewer/js/Worker.js
Expand Up @@ -410,9 +410,9 @@ var doParse = function () {
break;
case 'g':
if(args[j].charAt(1).toLowerCase() === '2')
direction=1;
if(args[j].charAt(1).toLowerCase() === '3')
direction=-1;
if(args[j].charAt(1).toLowerCase() === '3')
direction=1;
break;
}
}
Expand Down

0 comments on commit 8173f8d

Please sign in to comment.