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
1 changed files with 1 additions and 1 deletions

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);