mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Supply extra (required) typeinfo.
This commit is contained in:
parent
e4bb1560c5
commit
49ecb5e3db
@ -341,6 +341,12 @@ constexpr bool IsInstantiableType( const KICAD_T aType )
|
||||
case PCB_LOCATE_NPTH_T:
|
||||
case PCB_LOCATE_BOARD_EDGE_T:
|
||||
|
||||
case PCB_SHAPE_LOCATE_SEGMENT_T:
|
||||
case PCB_SHAPE_LOCATE_RECT_T:
|
||||
case PCB_SHAPE_LOCATE_CIRCLE_T:
|
||||
case PCB_SHAPE_LOCATE_ARC_T:
|
||||
case PCB_SHAPE_LOCATE_POLY_T:
|
||||
|
||||
case PCB_DIMENSION_T:
|
||||
|
||||
case SCH_SCREEN_T:
|
||||
@ -459,6 +465,11 @@ constexpr bool IsPcbnewType( const KICAD_T aType )
|
||||
case PCB_LOCATE_PTH_T:
|
||||
case PCB_LOCATE_NPTH_T:
|
||||
case PCB_LOCATE_BOARD_EDGE_T:
|
||||
case PCB_SHAPE_LOCATE_SEGMENT_T:
|
||||
case PCB_SHAPE_LOCATE_RECT_T:
|
||||
case PCB_SHAPE_LOCATE_CIRCLE_T:
|
||||
case PCB_SHAPE_LOCATE_ARC_T:
|
||||
case PCB_SHAPE_LOCATE_POLY_T:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user