From 0d2c4c91fd584c80d01c2fce76ad45deb95b3e93 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 17 Jun 2024 11:19:36 -0700 Subject: [PATCH] Properly initialize fonttype for older Altium files --- pcbnew/pcb_io/altium/altium_parser_pcb.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/pcb_io/altium/altium_parser_pcb.cpp b/pcbnew/pcb_io/altium/altium_parser_pcb.cpp index 8f7630b419..5667fb5bce 100644 --- a/pcbnew/pcb_io/altium/altium_parser_pcb.cpp +++ b/pcbnew/pcb_io/altium/altium_parser_pcb.cpp @@ -1019,6 +1019,7 @@ ATEXT6::ATEXT6( ALTIUM_BINARY_PARSER& aReader, std::map& aSt if( subrecord1 < 123 ) { + fonttype = ALTIUM_TEXT_TYPE::STROKE; aReader.SkipSubrecord(); return; }