From aa5902bd993657cf4d2ef7652a8d96e1013c6599 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 4 Jul 2021 00:17:23 +0100 Subject: [PATCH] Process Altium pin name and number hidden flags. Fixes https://gitlab.com/kicad/code/kicad/issues/7853 --- eeschema/sch_plugins/altium/sch_altium_plugin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp index ce7487ec77..c17abf288b 100644 --- a/eeschema/sch_plugins/altium/sch_altium_plugin.cpp +++ b/eeschema/sch_plugins/altium/sch_altium_plugin.cpp @@ -616,6 +616,12 @@ void SCH_ALTIUM_PLUGIN::ParsePin( const std::map& aPropertie pin->SetNumber( elem.designator ); 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! switch( elem.orientation )