Add missing types to IsInstantiableType() switch

This commit is contained in:
Mikolaj Wielgus 2021-12-01 00:25:53 +01:00
parent 2761bcc55e
commit 098f234311
1 changed files with 7 additions and 0 deletions

View File

@ -294,13 +294,20 @@ constexpr bool IsInstantiableType( const KICAD_T aType )
case SCH_SYMBOL_LOCATE_POWER_T:
case PCB_LOCATE_STDVIA_T:
case PCB_LOCATE_UVIA_T:
case PCB_LOCATE_BBVIA_T:
case PCB_LOCATE_TEXT_T:
case PCB_LOCATE_GRAPHIC_T:
case PCB_LOCATE_HOLE_T:
case PCB_LOCATE_PTH_T:
case PCB_LOCATE_NPTH_T:
case PCB_LOCATE_BOARD_EDGE_T:
case PCB_DIMENSION_T:
case SCH_SCREEN_T:
case PCB_ITEM_LIST_T:
return false;
default: