Commit a2d08fd7 authored by kliment's avatar kliment

Merge pull request #120 from alexrj/gviz-hilight-fix

Bugfix: paths were not hilighted in preview during print anymore
parents 3f21b9d1 29b5d09b
...@@ -224,6 +224,8 @@ class gviz(wx.Panel): ...@@ -224,6 +224,8 @@ class gviz(wx.Panel):
gcode = gcode.lower().strip().split() gcode = gcode.lower().strip().split()
if len(gcode) == 0: if len(gcode) == 0:
return return
if gcode[0][0] == 'n':
gcode.pop(0)
def _readgcode(): def _readgcode():
target=self.lastpos[:] target=self.lastpos[:]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment