Commit 70e6a271 authored by lode_leroy's avatar lode_leroy

fix potential crash

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@79 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 49d166b2
...@@ -41,7 +41,8 @@ class ContourCutter: ...@@ -41,7 +41,8 @@ class ContourCutter:
self.paths = self.pe.hor_path_list self.paths = self.pe.hor_path_list
else: else:
self.paths = self.pe.ver_path_list self.paths = self.pe.ver_path_list
for p in self.paths: if self.paths:
p.append(p.points[0]) for p in self.paths:
p.append(p.points[0])
self.pe = None self.pe = None
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