From b33ec125ac716a6d6f0c20896235aa7cdfe862ea Mon Sep 17 00:00:00 2001 From: WhiteChairFromIkea Date: Tue, 2 Mar 2021 00:02:19 +0000 Subject: [PATCH] use "pattern" instead of "sourcelibreference" for footprints --- pcbnew/plugins/altium/altium_parser_pcb.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/plugins/altium/altium_parser_pcb.cpp b/pcbnew/plugins/altium/altium_parser_pcb.cpp index 2ff1c0345d..40a015b2a0 100644 --- a/pcbnew/plugins/altium/altium_parser_pcb.cpp +++ b/pcbnew/plugins/altium/altium_parser_pcb.cpp @@ -274,6 +274,10 @@ ACOMPONENT6::ACOMPONENT6( ALTIUM_PARSER& aReader ) sourcedesignator = ALTIUM_PARSER::PropertiesReadString( properties, "SOURCEDESIGNATOR", "" ); sourcefootprintlibrary = ALTIUM_PARSER::PropertiesReadString( properties, "SOURCEFOOTPRINTLIBRARY", "" ); + + // Actual footprint is under "PATTERN" + pattern = ALTIUM_PARSER::PropertiesReadString( properties, "PATTERN", "" ); + sourcecomponentlibrary = ALTIUM_PARSER::PropertiesReadString( properties, "SOURCECOMPONENTLIBRARY", "" ); sourcelibreference =