Fix cherry-pick error

This commit is contained in:
Seth Hillbrand 2022-03-07 19:53:01 -08:00
parent bd1f01f7ee
commit 0838543745
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset,
// N.B. The order of evaluation is critical here as MapAngles will modify t1, t2
// and the Normalize routine depends on these modifications for the correct output
bool transformed = aTransform.MapAngles( &t1, &t2 );
bool transformed2 = ( ( t1 - t2 ).Normalize180() > 0 );
bool transformed2 = ( NormalizeAngle180( t1 - t2 ) > 0 );
if( transformed == transformed2 )
std::swap( pt1, pt2 );