Fix arc printing for flipped shapes.

This commit is contained in:
Jeff Young 2021-12-20 17:47:32 +00:00 committed by Wayne Stambaugh
parent bd0fbea044
commit 160328abc7
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset,
CalcArcAngles( t1, t2 ); CalcArcAngles( t1, t2 );
if( NormalizeAngle180( t1 - t2 ) > 0 ) if( aTransform.MapAngles( &t1, &t2 ) == ( NormalizeAngle180( t1 - t2 ) > 0 ) )
std::swap( pt1, pt2 ); std::swap( pt1, pt2 );
} }