Index: find_geo.c =================================================================== --- find_geo.c (revision 29867) +++ find_geo.c (revision 29868) @@ -845,6 +845,9 @@ { pcb_any_line_t tmp; pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + if (!proto->hplated) + return 0; + tmp.Point1.X = line->Point1.X; tmp.Point1.Y = line->Point1.Y; tmp.Point2.X = line->Point2.X; @@ -911,6 +914,8 @@ case PCB_PSSH_HSHADOW: { pcb_pstk_proto_t *proto = pcb_pstk_get_proto(ps); + if (!proto->hplated) + return 0; return pcb_is_point_on_arc(shape->data.circ.x + ps->x, shape->data.circ.y + ps->y, proto->hdia/2, arc); } }