From f80c150f13fe5ccaa58bc4dc6591a11eff1451de Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 1 Nov 2022 16:07:05 +0100 Subject: [PATCH] Add missing cases for PCB_SHAPE_LOCATE_BEZIER_T in switches. --- include/core/typeinfo.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/core/typeinfo.h b/include/core/typeinfo.h index 390b96365b..3bb5920c8f 100644 --- a/include/core/typeinfo.h +++ b/include/core/typeinfo.h @@ -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: