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:
parent
73ea0fc15e
commit
cea9e1b62c
|
@ -1461,14 +1461,8 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode, std::unique_ptr<LIB_P
|
|||
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++ )
|
||||
{
|
||||
if( pin->GetType() == ELECTRICAL_PINTYPE::PT_NC && i > 0 )
|
||||
break;
|
||||
|
||||
LIB_PIN* apin = new LIB_PIN( *pin );
|
||||
|
||||
wxString padname( pads[i] );
|
||||
|
|
Loading…
Reference in New Issue