Remove Eagle workaround for stacked NC pins

We no longer put stacked NC pins in the same net, so we do not require
this hack.
This commit is contained in:
Seth Hillbrand 2021-02-11 16:46:42 -08:00
parent 73ea0fc15e
commit cea9e1b62c
1 changed files with 0 additions and 6 deletions

View File

@ -1461,14 +1461,8 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode, std::unique_ptr<LIB_P
pin->SetNumberTextSize( 0 ); pin->SetNumberTextSize( 0 );
} }
// Eagle does not connect multiple NC pins together when they are stacked.
// KiCad will do this for pins that are coincident. We opt here for correct
// schematic netlist and leave out the multiple NC pins when stacked.
for( unsigned i = 0; i < pads.GetCount(); i++ ) for( unsigned i = 0; i < pads.GetCount(); i++ )
{ {
if( pin->GetType() == ELECTRICAL_PINTYPE::PT_NC && i > 0 )
break;
LIB_PIN* apin = new LIB_PIN( *pin ); LIB_PIN* apin = new LIB_PIN( *pin );
wxString padname( pads[i] ); wxString padname( pads[i] );