CADSTAR PCB: Don't invert Text Angle for mirrored text
It matches the original cadstar when we don't invert
This commit is contained in:
parent
c1515dd31c
commit
b2db24f275
|
@ -2509,9 +2509,6 @@ void CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText( const TEXT& aCadstarText,
|
||||||
|
|
||||||
txt->SetTextAngle( getAngleTenthDegree( aCadstarText.OrientAngle ) + aRotationAngle );
|
txt->SetTextAngle( getAngleTenthDegree( aCadstarText.OrientAngle ) + aRotationAngle );
|
||||||
|
|
||||||
if( aCadstarText.Mirror != aMirrorInvert ) // If mirroring, invert angle to match CADSTAR
|
|
||||||
txt->SetTextAngle( -txt->GetTextAngle() );
|
|
||||||
|
|
||||||
txt->SetMirrored( aCadstarText.Mirror );
|
txt->SetMirrored( aCadstarText.Mirror );
|
||||||
|
|
||||||
TEXTCODE tc = getTextCode( aCadstarText.TextCodeID );
|
TEXTCODE tc = getTextCode( aCadstarText.TextCodeID );
|
||||||
|
|
Loading…
Reference in New Issue