CADSTAR Schematic: Fix duplicate pins
Fixes a bug that was causing duplicate pins to be loaded (one on top of the other) for all symbols.
This commit is contained in:
parent
767aab7294
commit
c5e4220b5b
|
@ -401,6 +401,9 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances()
|
|||
continue;
|
||||
}
|
||||
|
||||
if( sym.GateID.IsEmpty() )
|
||||
sym.GateID = wxT( "A" ); // Assume Gate "A" if unspecified
|
||||
|
||||
PART_GATE_ID partSymbolID = { sym.PartRef.RefID, sym.GateID };
|
||||
LIB_PART* kiPart = m_partMap.at( sym.PartRef.RefID );
|
||||
bool copy = false;
|
||||
|
|
Loading…
Reference in New Issue