Commit 29b5d09b authored by Alessandro Ranellucci's avatar Alessandro Ranellucci

Bugfix: paths were not hilighted in preview during print anymore

parent 3f21b9d1
...@@ -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