Process Altium pin name and number hidden flags.

Fixes https://gitlab.com/kicad/code/kicad/issues/7853
This commit is contained in:
Jeff Young 2021-07-04 00:17:23 +01:00
parent f33ea6f997
commit aa5902bd99
1 changed files with 6 additions and 0 deletions

View File

@ -616,6 +616,12 @@ void SCH_ALTIUM_PLUGIN::ParsePin( const std::map<wxString, wxString>& aPropertie
pin->SetNumber( elem.designator ); pin->SetNumber( elem.designator );
pin->SetLength( elem.pinlength ); pin->SetLength( elem.pinlength );
if( !elem.showDesignator )
pin->SetNumberTextSize( 0 );
if( !elem.showPinName )
pin->SetNameTextSize( 0 );
wxPoint pinLocation = elem.location; // the location given is not the connection point! wxPoint pinLocation = elem.location; // the location given is not the connection point!
switch( elem.orientation ) switch( elem.orientation )