From 0337c42d256e8dadaa2c5018b26630edb0784de5 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 20 Feb 2021 13:25:02 +0000 Subject: [PATCH] Swap courtyards when flipping footprint. --- pcbnew/footprint.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 7213075e55..96fef4b154 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -1414,6 +1414,8 @@ void FOOTPRINT::Flip( const wxPoint& aCentre, bool aFlipLeftRight ) UpdateBoundingHull(); else m_hull.Mirror( aFlipLeftRight, !aFlipLeftRight, m_pos ); + + std::swap( m_poly_courtyard_front, m_poly_courtyard_back ); }