Browse Source

Fix arc printing for flipped shapes.

6.0.7
Jeff Young 4 years ago
committed by Wayne Stambaugh
parent
commit
160328abc7
  1. 2
      eeschema/lib_shape.cpp

2
eeschema/lib_shape.cpp

@ -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…
Cancel
Save