slicer/slice.c (dump_layer): don't draw the top end of walls
This commit is contained in:
parent
aa327c8e37
commit
9fc0962edc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue