Gerber plot: fix a minor issue: TF attribute "Drawing" is now "OtherDrawing,Comment"

Also use "AssemblyDrawing" attribute for fabrication layers in Pcbnew (actually assembly layers)
This is due some changes in recent Gerber file format.
This commit is contained in:
jean-pierre charras 2019-11-05 20:10:42 +01:00
parent 81ce588a00
commit 85156300d6
1 changed files with 5 additions and 3 deletions

View File

@ -132,7 +132,7 @@ const wxString GetGerberFileFunctionAttribute( const BOARD *aBoard, LAYER_NUM aL
break;
case Dwgs_User:
attrib = "Drawing";
attrib = "OtherDrawing,Comment";
break;
case Cmts_User:
@ -148,11 +148,13 @@ const wxString GetGerberFileFunctionAttribute( const BOARD *aBoard, LAYER_NUM aL
break;
case B_Fab:
attrib = "Other,Fab,Bot";
// This is actually a assembly layer
attrib = "AssemblyDrawing,Bot";
break;
case F_Fab:
attrib = "Other,Fab,Top";
// This is actually a assembly layer
attrib = "AssemblyDrawing,Top";
break;
case B_Cu: