Commit 0e747819 authored by sumpfralle's avatar sumpfralle

fixed typo (caused DropCutter to return no results)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@731 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 6f6bdeac
......@@ -46,7 +46,7 @@ def _process_one_grid_line((positions, minz, maxz, dim_attrs, model, cutter, phy
result = get_max_height_triangles(model, cutter, x, y, minz, maxz,
order=dim_attrs[:], last_pos=last_position)
if result:
points.extend(points)
points.extend(result)
else:
points.append(Point(x, y, safety_height))
height_exceeded = True
......
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