no filled circles if layer has no fill (fill_type[c] == 0)

This commit is contained in:
Stefan Frederik 2022-08-28 23:50:57 +02:00
parent 050807ebe4
commit bd64f86dbc
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ static void set_ps_colors(unsigned int pixel)
static void ps_xdrawarc(int layer, int fillarc, double x, double y, double r, double a, double b)
{
if(xctx->fill_pattern && fillarc)
if(xctx->fill_pattern && xctx->fill_type[layer] && fillarc)
fprintf(fd, "%g %g %g %g %g A %g %g LT C F S\n", x, y, r, -a, -a-b, x, y);
else
fprintf(fd, "%g %g %g %g %g A S\n", x, y, r, -a, -a-b);