Index: gcode.c =================================================================== --- gcode.c (revision 29425) +++ gcode.c (revision 29426) @@ -365,6 +365,8 @@ } } + if (!gctx.cam.active) gctx.cam.okempty_content = 1; /* never warn in direct export */ + if (pcb_cam_end(&gctx.cam) == 0) { if (!gctx.cam.okempty_group) pcb_message(PCB_MSG_ERROR, "gcode cam export for '%s' failed to produce any content (layer group missing)\n", options[HA_cam].str);