Index: trunk/src/obj_pstk_proto.c =================================================================== --- trunk/src/obj_pstk_proto.c (revision 32749) +++ trunk/src/obj_pstk_proto.c (revision 32750) @@ -88,7 +88,9 @@ /* mark each shape with whether it overlaps with the hole/mech shape or not */ hole = pcb_pstk_shape_mech_or_hole_(NULL, dst, &holetmp); for(n = 0; n < ts->len; n++) { - if (hole != NULL) + if (hole == &ts->shape[n]) + ts->shape[n].hconn = 1; + else if (hole != NULL) ts->shape[n].hconn = pcb_pstk_shape_intersect(&dummy_ps, &ts->shape[n], &dummy_ps, hole); else ts->shape[n].hconn = 0;