Commit a2977663 authored by Guillaume Seguin's avatar Guillaume Seguin

Factor 2 lines in printrun/gviz.py

parent dbc53620
...@@ -336,7 +336,6 @@ class gviz(wx.Panel): ...@@ -336,7 +336,6 @@ class gviz(wx.Panel):
self.lines[z].append(line) self.lines[z].append(line)
self.pens[z].append(self.mainpen if target[3] != self.lastpos[3] else self.travelpen) self.pens[z].append(self.mainpen if target[3] != self.lastpos[3] else self.travelpen)
self.lastpos = target self.lastpos = target
self.dirty = 1
if gline.command in ["G2", "G3"]: if gline.command in ["G2", "G3"]:
arc = [_x(start_pos[0]), _y(start_pos[1]), arc = [_x(start_pos[0]), _y(start_pos[1]),
......
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