Process Altium pin name and number hidden flags.
Fixes https://gitlab.com/kicad/code/kicad/issues/7853
This commit is contained in:
parent
f33ea6f997
commit
aa5902bd99
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue