Index: ipcd356.c =================================================================== --- ipcd356.c (revision 27426) +++ ipcd356.c (revision 27427) @@ -442,6 +442,7 @@ int n; const char *fn; FILE *f; + pcb_cam_t cam; if (!options) { ipcd356_get_export_options(hid, 0); @@ -456,7 +457,7 @@ if (fn == NULL) fn = "pcb-rnd-out.net"; - pcb_cam_nolayer(PCB, options[HA_cam].str, &fn); + pcb_cam_begin_nolayer(PCB, &cam, options[HA_cam].str, &fn); f = pcb_fopen_askovr(&PCB->hidlib, fn, "w", NULL); if (f == NULL) { @@ -465,6 +466,7 @@ } ipcd356_write(PCB, f); fclose(f); + pcb_cam_end(&cam); } static pcb_hid_t ipcd356_hid;