Fix mirroring arcs in footprints

Fixes #9417
https://gitlab.com/kicad/code/kicad/issues/9417
This commit is contained in:
jean-pierre charras 2021-10-18 17:10:39 +02:00
parent 64bcaaefd1
commit cee9e417ec
1 changed files with 6 additions and 0 deletions

View File

@ -245,6 +245,12 @@ void FP_SHAPE::Flip( const wxPoint& aCentre, bool aFlipLeftRight )
if( GetShape() == SHAPE_T::BEZIER )
RebuildBezierToSegmentsPointsList( m_width );
if( GetShape() == SHAPE_T::ARC )
{
std::swap( m_start, m_end );
std::swap( m_start0, m_end0 );
}
break;
case SHAPE_T::POLY: