Index: board.h =================================================================== --- board.h (revision 13113) +++ board.h (revision 13114) @@ -131,6 +131,9 @@ #define PCB_SWAP_X(x) (PCB_SWAP_SIGN_X(x)) #define PCB_SWAP_Y(y) (PCB->MaxHeight +PCB_SWAP_SIGN_Y(y)) +/* Conditionally allow subc parts to be reached directly in search masks */ +#define PCB_LOOSE_SUBC (PCB->loose_subc ? PCB_TYPE_SUBC_PART : 0) + const char *pcb_board_get_filename(void); const char *pcb_board_get_name(void);