Eeschema: fix a *very serious* bug in netlist generation: sometimes the netlist forgets pins for components having more than one part per package, in hierarchical designs.
This commit is contained in:
parent
ffbce6de84
commit
dc1e410757
|
@ -1605,7 +1605,7 @@ void EXPORT_HELP::findAllInstancesOfComponent( SCH_COMPONENT* aComponent,
|
||||||
if( ref2.CmpNoCase( ref ) != 0 )
|
if( ref2.CmpNoCase( ref ) != 0 )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int unit2 = comp2->GetUnitSelection( aSheetPath ); // slow
|
int unit2 = comp2->GetUnitSelection( sheet ); // slow
|
||||||
|
|
||||||
for( LIB_PIN* pin = aEntry->GetNextPin(); pin; pin = aEntry->GetNextPin( pin ) )
|
for( LIB_PIN* pin = aEntry->GetNextPin(); pin; pin = aEntry->GetNextPin( pin ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue