Commit 05c98936 authored by sumpfralle's avatar sumpfralle

fixed exception due to a careless content check


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@339 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 62934e96
...@@ -210,8 +210,8 @@ class PushCutter: ...@@ -210,8 +210,8 @@ class PushCutter:
self.pa.append(p) self.pa.append(p)
if points: if points:
self.cutter.moveto(points[-1]) self.cutter.moveto(points[-1])
if draw_callback: if draw_callback:
draw_callback(tool_position=points[-1]) draw_callback(tool_position=points[-1])
self.pa.end_scanline() self.pa.end_scanline()
if dx > 0: if dx > 0:
......
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