mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 20:31:41 +00:00
Fix arc printing for flipped shapes.
This commit is contained in:
parent
bd0fbea044
commit
160328abc7
@ -256,7 +256,7 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset,
|
||||
|
||||
CalcArcAngles( t1, t2 );
|
||||
|
||||
if( NormalizeAngle180( t1 - t2 ) > 0 )
|
||||
if( aTransform.MapAngles( &t1, &t2 ) == ( NormalizeAngle180( t1 - t2 ) > 0 ) )
|
||||
std::swap( pt1, pt2 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user