Eagle SCH import: keep multi-unit parts not interchangeable
Eagle supports more sophisticated unit swapping information, so the safest choice is to prevent any unit manipulation.
This commit is contained in:
parent
2b46bda2f2
commit
c8f4e1051b
|
@ -1266,6 +1266,7 @@ EAGLE_LIBRARY* SCH_EAGLE_PLUGIN::loadLibrary( wxXmlNode* aLibraryNode,
|
|||
wxXmlNode* gateNode = getChildrenNodes( aDeviceSetChildren, "gates" );
|
||||
int gates_count = countChildren( aDeviceSetChildren["gates"], "gate" );
|
||||
kpart->SetUnitCount( gates_count );
|
||||
kpart->LockUnits( true );
|
||||
|
||||
LIB_FIELD* reference = kpart->GetField( REFERENCE );
|
||||
|
||||
|
|
Loading…
Reference in New Issue