Commit d3f77849 authored by sumpfralle's avatar sumpfralle

fixed progress counter for PushCutter


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@840 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 785c6d2b
......@@ -68,8 +68,9 @@ class PushCutter:
for layer in motion_grid:
lines = []
for line in layer:
# convert the generator to a list
lines.append(list(line))
num_of_grid_positions += len(lines[-1])
num_of_grid_positions += len(lines)
grid.append(lines)
num_of_layers = len(grid)
......
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