From 45409ec31494e9e28301141384fda44dddf2089b Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Fri, 9 Apr 2021 20:45:12 +0100 Subject: [PATCH] CADSTAR Schematic: Fix orientation of symbol fields --- eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp index 22010bab89..ee580f3a9b 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_loader.cpp @@ -1696,7 +1696,9 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute( ALIGNMENT alignment = aCadstarAttrLoc.Alignment; - double textAngle = getAngleTenthDegree( aCadstarAttrLoc.OrientAngle ) - aComponentOrientationDeciDeg; + double textAngle = aComponentOrientationDeciDeg + - getAngleTenthDegree( aCadstarAttrLoc.OrientAngle ); + long long cadstarAngle = getCadstarAngle( textAngle ); if( aIsMirrored )