Index: trunk/src_plugins/export_ipcd356/ipcd356.c =================================================================== --- trunk/src_plugins/export_ipcd356/ipcd356.c (revision 27689) +++ trunk/src_plugins/export_ipcd356/ipcd356.c (revision 27690) @@ -245,6 +245,8 @@ t->cx += (x1 + x2)/2; t->cy += (y1 + y2)/2; + if (sh->data.poly.pa == NULL) + pcb_pstk_shape_update_pa(&sh->data.poly); if (pcb_pline_is_rectangle(sh->data.poly.pa->contours)) { t->width = (x2 - x1); t->height = (y2 - y1);