Swap courtyards when flipping footprint.

This commit is contained in:
Jeff Young 2021-02-20 13:25:02 +00:00
parent ba63ac801a
commit 0337c42d25
1 changed files with 2 additions and 0 deletions

View File

@ -1414,6 +1414,8 @@ void FOOTPRINT::Flip( const wxPoint& aCentre, bool aFlipLeftRight )
UpdateBoundingHull(); UpdateBoundingHull();
else else
m_hull.Mirror( aFlipLeftRight, !aFlipLeftRight, m_pos ); m_hull.Mirror( aFlipLeftRight, !aFlipLeftRight, m_pos );
std::swap( m_poly_courtyard_front, m_poly_courtyard_back );
} }