From 491bb6e57a8ad44db65c8f8e51e13f5306d1e74c Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Sat, 22 Jun 2024 06:45:23 +0300 Subject: [PATCH] Altium schematic import: fix power port styles. Need to use the symbol name with style, like "VCC_CIRCLE", not "VCC". Issue was introduced in d939004bbd8921a95da8e578c2dd891f969bc39b Fixes https://gitlab.com/kicad/code/kicad/-/issues/18209 --- eeschema/sch_io/altium/sch_io_altium.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/sch_io/altium/sch_io_altium.cpp b/eeschema/sch_io/altium/sch_io_altium.cpp index b517b2ec59..39b9d5c555 100644 --- a/eeschema/sch_io/altium/sch_io_altium.cpp +++ b/eeschema/sch_io/altium/sch_io_altium.cpp @@ -3193,8 +3193,8 @@ void SCH_IO_ALTIUM::ParsePowerPort( const std::map& aPropert { libSymbol = powerSymbolIt->second; // cache hit } - else if( LIB_SYMBOL* alreadyLoaded = - m_pi->LoadSymbol( getLibFileName().GetFullPath(), elem.text, m_properties.get() ) ) + else if( LIB_SYMBOL* alreadyLoaded = m_pi->LoadSymbol( getLibFileName().GetFullPath(), symName, + m_properties.get() ) ) { libSymbol = alreadyLoaded; }