Index: trunk/src_plugins/io_pads/read_high.c =================================================================== --- trunk/src_plugins/io_pads/read_high.c (revision 34629) +++ trunk/src_plugins/io_pads/read_high.c (revision 34630) @@ -521,7 +521,7 @@ char name[256], shape[8], pinno[10]; rnd_coord_t drill = 0, size; long sn, n, num_lines, level, start = 0, end = 0, pid; - int res; + int res, has_slot = 0; if ((res = pads_read_word(rctx, name, sizeof(name), 0)) <= 0) return res; if (terms != NULL) { @@ -599,6 +599,9 @@ if (OPTF) if ((res = pads_read_double(rctx, &slotrot)) <= 0) return res; if (OPTF) if ((res = pads_read_coord(rctx, &slotlen)) <= 0) return res; if (OPTF) if ((res = pads_read_coord(rctx, &slotoffs)) <= 0) return res; + + if (slotlen > 0) + has_slot= 1; } } else { /* thermal */ @@ -684,6 +687,8 @@ } ts->len = sn; + if ((proto->hdia <= 0) && !has_slot) + proto->hplated = 0; pcb_pstk_proto_update(proto); if (terms != NULL) {