GERBER_JOBFILE_WRITER: fix missing handling of User_1 to User_9 user layers.

Fixes #10878
https://gitlab.com/kicad/code/kicad/issues/10878
This commit is contained in:
jean-pierre charras 2022-02-17 11:41:23 +01:00
parent 0ed3bba108
commit 529d598c36
1 changed files with 12 additions and 0 deletions

View File

@ -424,6 +424,18 @@ void GERBER_JOBFILE_WRITER::addJSONFilesAttributes()
skip_file = true;
break;
case User_1:
case User_2:
case User_3:
case User_4:
case User_5:
case User_6:
case User_7:
case User_8:
case User_9:
gbr_layer_id = wxT( "Other,User" );
break;
default:
skip_file = true;
m_reporter->Report( wxT( "Unexpected layer id in job file" ), RPT_SEVERITY_ERROR );