Index: eps.c =================================================================== --- eps.c (revision 36256) +++ eps.c (revision 36257) @@ -181,7 +181,7 @@ static rnd_hid_attr_val_t *options_; -void rnd_eps_print_header(rnd_eps_t *pctx, const char *outfn) +void rnd_eps_print_header(rnd_eps_t *pctx, const char *outfn, int solder_side) { pctx->linewidth = -1; pctx->lastcap = -1; @@ -204,7 +204,7 @@ fprintf(pctx->outf, "1 dup neg scale\n"); fprintf(pctx->outf, "%g dup scale\n", options_[HA_scale].dbl); rnd_fprintf(pctx->outf, "%mi %mi translate\n", -bounds->X1, -bounds->Y2); - if (pctx->as_shown && conf_core.editor.show_solder_side) + if (pctx->as_shown && solder_side) rnd_fprintf(pctx->outf, "-1 1 scale %mi 0 translate\n", bounds->X1 - bounds->X2); #define Q (rnd_coord_t) RND_MIL_TO_COORD(10) @@ -316,7 +316,7 @@ rnd_eps_init(pctx, options[HA_mono].lng, options[HA_as_shown].lng); if (pctx->outf != NULL) - rnd_eps_print_header(pctx, rnd_hid_export_fn(filename)); + rnd_eps_print_header(pctx, rnd_hid_export_fn(filename), conf_core.editor.show_solder_side); if (pctx->as_shown) { /* disable (exporter default) hiding overlay in as_shown */ @@ -407,7 +407,7 @@ fclose(pctx->outf); } pctx->outf = rnd_fopen_askovr(&PCB->hidlib, eps_cam.fn, "w", NULL); - rnd_eps_print_header(pctx, eps_cam.fn); + rnd_eps_print_header(pctx, eps_cam.fn, conf_core.editor.show_solder_side); } if (!eps_cam.active) {