Index: tool.h =================================================================== --- tool.h (revision 13112) +++ tool.h (revision 13113) @@ -102,4 +102,7 @@ /* Get the tool pointer of a tool by id */ #define pcb_tool_get(id) ((const pcb_tool_t *)vtp0_get(&pcb_tools, id, 0)) +/* Conditionally allow subc parts to be reached directly in search masks */ +#define PCB_LOOSE_SUBC (PCB->loose_subc ? PCB_TYPE_SUBC_PART : 0) + #endif