From bbf59a731d333fd4245b6b579f7b383bbf92d0e3 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Wed, 5 Jul 2023 02:40:18 +0300 Subject: [PATCH] EAGLE PCB import: fix footprint text alignment. (cherry picked from commit a80ac8286d6b3c52741dffccc22eb34ed82c3952) --- pcbnew/plugins/eagle/eagle_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/plugins/eagle/eagle_plugin.cpp b/pcbnew/plugins/eagle/eagle_plugin.cpp index b37be9f712..0b8d3b37af 100644 --- a/pcbnew/plugins/eagle/eagle_plugin.cpp +++ b/pcbnew/plugins/eagle/eagle_plugin.cpp @@ -1616,7 +1616,7 @@ void EAGLE_PLUGIN::orientFPText( FOOTPRINT* aFootprint, const EELEMENT& e, FP_TE int align = ETEXT::BOTTOM_LEFT; // bottom-left is eagle default if( a.align ) - align = a.align; + align = *a.align; // The "rot" in a EATTR seems to be assumed to be zero if it is not // present, and this zero rotation becomes an override to the