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

slicer/slice.c (dump_layer): don't draw the top end of walls

This commit is contained in:
Werner Almesberger 2015-01-08 09:13:25 -03:00
parent aa327c8e37
commit 9fc0962edc

View File

@ -166,7 +166,7 @@ static gboolean dump_layer(gpointer key, gpointer value, gpointer data)
if (!z1->present)
return 0;
for (line = z0->lines; line; line = line->next)
if (line->cz >= z1->z)
if (line->cz > z1->z)
printf("%f %f %f\n%f %f %f\n\n\n",
line->ax, line->ay, z1->z,
line->bx, line->by, z1->z);