pcad2kicadpcb_plugin: map layers Top/Bot Assy to F/B Fab

This commit is contained in:
Eldar Khayrullin 2017-12-13 20:47:03 +03:00 committed by Maciej Suminski
parent 87566eedc5
commit d62d3b8e21
1 changed files with 2 additions and 2 deletions

View File

@ -487,7 +487,7 @@ void PCB::MapLayer( XNODE* aNode )
lName = lName.MakeUpper(); lName = lName.MakeUpper();
if( lName == wxT( "TOP ASSY" ) ) if( lName == wxT( "TOP ASSY" ) )
KiCadLayer = Cmts_User; KiCadLayer = F_Fab;
else if( lName == wxT( "TOP SILK" ) ) else if( lName == wxT( "TOP SILK" ) )
KiCadLayer = F_SilkS; KiCadLayer = F_SilkS;
else if( lName == wxT( "TOP PASTE" ) ) else if( lName == wxT( "TOP PASTE" ) )
@ -505,7 +505,7 @@ void PCB::MapLayer( XNODE* aNode )
else if( lName == wxT( "BOT SILK" ) ) else if( lName == wxT( "BOT SILK" ) )
KiCadLayer = B_SilkS; KiCadLayer = B_SilkS;
else if( lName == wxT( "BOT ASSY" ) ) else if( lName == wxT( "BOT ASSY" ) )
KiCadLayer = Dwgs_User; KiCadLayer = B_Fab;
else if( lName == wxT( "BOARD" ) ) else if( lName == wxT( "BOARD" ) )
KiCadLayer = Edge_Cuts; KiCadLayer = Edge_Cuts;
else else