Add missing cases for PCB_SHAPE_LOCATE_BEZIER_T in switches.

This commit is contained in:
jean-pierre charras 2022-11-01 16:07:05 +01:00
parent 38b54b62e0
commit f80c150f13
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,7 @@ constexpr KICAD_T BaseType( const KICAD_T aType )
case PCB_SHAPE_LOCATE_CIRCLE_T:
case PCB_SHAPE_LOCATE_ARC_T:
case PCB_SHAPE_LOCATE_POLY_T:
case PCB_SHAPE_LOCATE_BEZIER_T:
return PCB_SHAPE_T;
case PCB_DIM_ALIGNED_T:
@ -347,6 +348,7 @@ constexpr bool IsInstantiableType( const KICAD_T aType )
case PCB_SHAPE_LOCATE_CIRCLE_T:
case PCB_SHAPE_LOCATE_ARC_T:
case PCB_SHAPE_LOCATE_POLY_T:
case PCB_SHAPE_LOCATE_BEZIER_T:
case PCB_DIMENSION_T:
@ -471,6 +473,7 @@ constexpr bool IsPcbnewType( const KICAD_T aType )
case PCB_SHAPE_LOCATE_CIRCLE_T:
case PCB_SHAPE_LOCATE_ARC_T:
case PCB_SHAPE_LOCATE_POLY_T:
case PCB_SHAPE_LOCATE_BEZIER_T:
return true;
default: