Fix mirroring arcs in footprints
Fixes #9417 https://gitlab.com/kicad/code/kicad/issues/9417
This commit is contained in:
parent
64bcaaefd1
commit
cee9e417ec
|
@ -245,6 +245,12 @@ void FP_SHAPE::Flip( const wxPoint& aCentre, bool aFlipLeftRight )
|
||||||
if( GetShape() == SHAPE_T::BEZIER )
|
if( GetShape() == SHAPE_T::BEZIER )
|
||||||
RebuildBezierToSegmentsPointsList( m_width );
|
RebuildBezierToSegmentsPointsList( m_width );
|
||||||
|
|
||||||
|
if( GetShape() == SHAPE_T::ARC )
|
||||||
|
{
|
||||||
|
std::swap( m_start, m_end );
|
||||||
|
std::swap( m_start0, m_end0 );
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SHAPE_T::POLY:
|
case SHAPE_T::POLY:
|
||||||
|
|
Loading…
Reference in New Issue