orcadpcb2 netlist export: fix an issue with duplicated pins in multi-unit symbols.
Due to some changes in code, pins common to units were written more than once.
This commit is contained in:
parent
89310bc403
commit
8b96e6fa44
|
@ -108,6 +108,9 @@ bool NETLIST_EXPORTER_ORCADPCB2::WriteNetlist( const wxString& aOutFileName,
|
|||
// Write pin list:
|
||||
for( const PIN_INFO& pin : m_sortedSymbolPinList )
|
||||
{
|
||||
if( pin.num.IsEmpty() ) // Erased pin in list
|
||||
continue;
|
||||
|
||||
netName = pin.netName;
|
||||
netName.Replace( wxT( " " ), wxT( "_" ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue