CADSTAR Schematic: Fix positioning of symbol attributes
Symbol attributes were being placed at the wrong location due to incorrect relative angle calculation
This commit is contained in:
parent
8d788b7a09
commit
29d1b84939
|
@ -1707,10 +1707,8 @@ void CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute(
|
|||
|
||||
ALIGNMENT alignment = aCadstarAttrLoc.Alignment;
|
||||
|
||||
double textAngle = aComponentOrientationDeciDeg
|
||||
- getAngleTenthDegree( aCadstarAttrLoc.OrientAngle );
|
||||
|
||||
long long cadstarAngle = getCadstarAngle( textAngle );
|
||||
double textAngle = getAngleTenthDegree( aCadstarAttrLoc.OrientAngle );
|
||||
long long cadstarAngle = getCadstarAngle( textAngle - aComponentOrientationDeciDeg );
|
||||
|
||||
if( aIsMirrored )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue