From 82d91767828170b329f826e14021a53409c3cdb9 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sun, 5 Feb 2023 18:37:19 +0100 Subject: [PATCH] FOOTPRINT::Flip(): add missing PCB_BITMAP_T. Fixes #13785 https://gitlab.com/kicad/code/kicad/issues/13785 --- pcbnew/footprint.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 38feb8f00b..ab4ac3a64b 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -1638,6 +1639,10 @@ void FOOTPRINT::Flip( const VECTOR2I& aCentre, bool aFlipLeftRight ) static_cast( item )->Flip( m_pos, false ); break; + case PCB_BITMAP_T: + static_cast( item )->Flip( m_pos, false ); + break; + case PCB_FP_DIM_ALIGNED_T: case PCB_FP_DIM_ORTHOGONAL_T: case PCB_FP_DIM_RADIAL_T: