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:
jean-pierre charras 2011-03-17 11:52:01 +01:00
parent ffbce6de84
commit dc1e410757
1 changed files with 1 additions and 1 deletions

View File

@ -1605,7 +1605,7 @@ void EXPORT_HELP::findAllInstancesOfComponent( SCH_COMPONENT* aComponent,
if( ref2.CmpNoCase( ref ) != 0 )
continue;
int unit2 = comp2->GetUnitSelection( aSheetPath ); // slow
int unit2 = comp2->GetUnitSelection( sheet ); // slow
for( LIB_PIN* pin = aEntry->GetNextPin(); pin; pin = aEntry->GetNextPin( pin ) )
{