mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 22:13:44 +00:00
Fix Gerber Protel extensions for inner copper layers.
Previously the mapping was incorrect: In1 -> .g5 In2 -> .g7
This commit is contained in:
parent
eee28aa06a
commit
6920d65af3
@ -49,7 +49,7 @@ const wxString GetGerberProtelExtension( int aLayer )
|
||||
else if( aLayer == B_Cu )
|
||||
return wxT( "gbl" );
|
||||
else
|
||||
return wxString::Format( wxT( "g%d" ), aLayer+1 );
|
||||
return wxString( wxT( "g" ) ) << CopperLayerToOrdinal( ToLAYER_ID( aLayer ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user