Eeschema Eagle Import: Convert overbar prefix on pins.
This commit is contained in:
parent
afa5ef0ca6
commit
c0c75d4732
|
@ -1109,6 +1109,12 @@ void SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode,
|
||||||
pin->SetPartNumber( gateNumber );
|
pin->SetPartNumber( gateNumber );
|
||||||
pin->SetUnit( gateNumber );
|
pin->SetUnit( gateNumber );
|
||||||
|
|
||||||
|
string pinname = pin->GetName().ToStdString();
|
||||||
|
if(pinname[0] == '!'){
|
||||||
|
pinname[0] = '~';
|
||||||
|
pin->SetName( pinname );
|
||||||
|
}
|
||||||
|
|
||||||
aPart->AddDrawItem( pin );
|
aPart->AddDrawItem( pin );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue