Commit 12c7da6b authored by Lars Kruse's avatar Lars Kruse

fixed mistake in 9f26e34e

This caused an infinite loop for "surfacing" / dropcutter operations.
parent d4e69cf1
......@@ -308,5 +308,7 @@ def get_max_height_dynamic(model, cutter, positions, minz, maxz, physics=None):
if _check_deviance_of_adjacent_points(p1, p2, p3, 0):
# remove superfluous point
points.pop(index)
else:
index += 1
return points
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