FOOTPRINT::Flip(): add missing PCB_BITMAP_T.

Fixes #13785
https://gitlab.com/kicad/code/kicad/issues/13785
This commit is contained in:
jean-pierre charras 2023-02-05 18:37:19 +01:00
parent f2f54fe926
commit 82d9176782
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,7 @@
#include <pcb_group.h>
#include <pcb_track.h>
#include <pcb_dimension.h>
#include <pcb_bitmap.h>
#include <footprint.h>
#include <zone.h>
#include <view/view.h>
@ -1638,6 +1639,10 @@ void FOOTPRINT::Flip( const VECTOR2I& aCentre, bool aFlipLeftRight )
static_cast<FP_TEXTBOX*>( item )->Flip( m_pos, false );
break;
case PCB_BITMAP_T:
static_cast<PCB_BITMAP*>( item )->Flip( m_pos, false );
break;
case PCB_FP_DIM_ALIGNED_T:
case PCB_FP_DIM_ORTHOGONAL_T:
case PCB_FP_DIM_RADIAL_T: