From 4e3488c2e0ac3aa7aa7f67dc7a85177bb010b8ef 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 146300d55b..8f57efcf2a 100644 --- a/eeschema/sch_io/altium/sch_io_altium.cpp +++ b/eeschema/sch_io/altium/sch_io_altium.cpp @@ -3356,8 +3356,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; }