Index: trunk/src/conf_core.h =================================================================== --- trunk/src/conf_core.h (revision 21844) +++ trunk/src/conf_core.h (revision 21845) @@ -43,6 +43,7 @@ CFT_BOOLEAN swap_start_direction; /* change starting direction after each click */ CFT_BOOLEAN show_drc; /* show drc region on crosshair */ CFT_BOOLEAN auto_drc; /* when set, PCB doesn't let you place copper that violates DRC. */ + CFT_BOOLEAN conn_find_rat; /* connection find includes rats; when off, only existing galvanic connections are mapped */ CFT_BOOLEAN show_number; /* OBSOLETE: pinout shows number */ CFT_BOOLEAN orthogonal_moves; /* move items orthogonally. */ CFT_BOOLEAN reset_after_element; /* OBSOLETE: reset connections after each element while saving all connections */ Index: trunk/src/pcb-conf.lht =================================================================== --- trunk/src/pcb-conf.lht (revision 21844) +++ trunk/src/pcb-conf.lht (revision 21845) @@ -30,6 +30,7 @@ swap_start_direction = 0 show_drc = 0 auto_drc = 0 + conn_find_rat = 1 show_number = 0 orthogonal_moves = 0 reset_after_element = 1 Index: trunk/src/rats_act.c =================================================================== --- trunk/src/rats_act.c (revision 21844) +++ trunk/src/rats_act.c (revision 21845) @@ -129,7 +129,7 @@ memset(&fctx, 0, sizeof(fctx)); fctx.flag_set = PCB_FLAG_FOUND; fctx.flag_set_undoable = 1; - fctx.consider_rats = 1; + fctx.consider_rats = !!conf_core.editor.conn_find_rat; res = pcb_find_from_xy(&fctx, PCB->Data, x, y); pcb_message(PCB_MSG_INFO, "found %ld objects\n", res); pcb_find_free(&fctx);