Commit 8cdf20a7 authored by lode_leroy's avatar lode_leroy

fix STL detection

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@59 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent acb74953
......@@ -61,7 +61,8 @@ def ImportModel(filename, use_kdtree=True):
binary = False
f.seek(0)
else:
binary = True
print "STL binary/ascii detection failed"
return None
if use_kdtree:
kdtree = PointKdtree([],3,1,epsilon)
......
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