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:
parent
0ed3bba108
commit
529d598c36
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue