1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:51:08 +02:00

sfc/slicer.py: correct last position tracking for mech_eps

This commit is contained in:
Werner Almesberger 2015-05-23 09:25:43 -03:00
parent d3bccb6bfc
commit d72d649c30

View File

@ -83,7 +83,7 @@ def dump_level(wires, z):
first = v
if last is None or dist(v, last) >= mech_eps:
print_vec(v, z)
last = v
last = v
if first is not None:
print_vec(first, z)
print