Index: src_plugins/io_pads/read_high.c =================================================================== --- src_plugins/io_pads/read_high.c (revision 34618) +++ src_plugins/io_pads/read_high.c (revision 34619) @@ -625,6 +625,7 @@ rnd_coord_t r2 = rnd_round(size / 2.0); shp->shape = PCB_PSSH_POLY; pcb_pstk_shape_alloc_poly(&shp->data.poly, 4); + if (r2 == 0) r2 = 100; shp->data.poly.x[0] = -r2; shp->data.poly.y[0] = -r2; shp->data.poly.x[1] = +r2; shp->data.poly.y[1] = -r2; shp->data.poly.x[2] = +r2; shp->data.poly.y[2] = +r2; @@ -634,6 +635,7 @@ rnd_coord_t r1 = rnd_round(finlen / 2.0), r2 = rnd_round(size / 2.0); shp->shape = PCB_PSSH_POLY; pcb_pstk_shape_alloc_poly(&shp->data.poly, 4); + if (r2 == 0) r2 = 100; shp->data.poly.x[0] = -r1 + finoffs; shp->data.poly.y[0] = -r2; shp->data.poly.x[1] = +r1 + finoffs; shp->data.poly.y[1] = -r2; shp->data.poly.x[2] = +r1 + finoffs; shp->data.poly.y[2] = +r2;