Index: trunk/src/find_geo.c =================================================================== --- trunk/src/find_geo.c (revision 12488) +++ trunk/src/find_geo.c (revision 12489) @@ -832,7 +832,7 @@ switch(shape->shape) { case PCB_PSSH_POLY: if (shape->data.poly.pa == NULL) - pcb_padstack_shape_update_pline(&shape->data.poly); + pcb_padstack_shape_update_pa(&shape->data.poly); return pcb_intersect_line_polyline(shape->data.poly.pa->contours, line->Point1.X - ps->x, line->Point1.Y - ps->y, line->Point2.X - ps->x, line->Point2.Y - ps->y, line->Thickness); case PCB_PSSH_LINE: { @@ -874,7 +874,7 @@ tmp.BoundingBox.Y2 -= ps->y; if (shape->data.poly.pa == NULL) - pcb_padstack_shape_update_pline(&shape->data.poly); + pcb_padstack_shape_update_pa(&shape->data.poly); return pcb_is_arc_in_polyarea(&tmp, shape->data.poly.pa); } Index: trunk/src/obj_padstack.h =================================================================== --- trunk/src/obj_padstack.h (revision 12488) +++ trunk/src/obj_padstack.h (revision 12489) @@ -148,7 +148,7 @@ int pcb_padstack_drc_check_and_warn(pcb_padstack_t *ps); /* Generate poly->pa (which should be NULL at the time of call) */ -void pcb_padstack_shape_update_pline(pcb_padstack_poly_t *poly); +void pcb_padstack_shape_update_pa(pcb_padstack_poly_t *poly); /* Insert proto into the cache of data; if it's already in, return the existing ID, else dup it and insert it. */ Index: trunk/src/obj_padstack_proto.c =================================================================== --- trunk/src/obj_padstack_proto.c (revision 12488) +++ trunk/src/obj_padstack_proto.c (revision 12489) @@ -328,7 +328,7 @@ } -void pcb_padstack_shape_update_pline(pcb_padstack_poly_t *poly) +void pcb_padstack_shape_update_pa(pcb_padstack_poly_t *poly) { int n; pcb_vector_t v; Index: trunk/src/thermal.c =================================================================== --- trunk/src/thermal.c (revision 12488) +++ trunk/src/thermal.c (revision 12489) @@ -517,7 +517,7 @@ return pa_line_at(ps->x + shp->data.line.x1, ps->y + shp->data.line.y1, ps->x + shp->data.line.x2, ps->y + shp->data.line.y2, shp->data.line.thickness + ps->Clearance*2, shp->data.line.square); case PCB_PSSH_POLY: if (shp->data.poly.pa == NULL) - pcb_padstack_shape_update_pline(&shp->data.poly); + pcb_padstack_shape_update_pa(&shp->data.poly); if (shp->data.poly.pa == NULL) return NULL; pcb_poly_iterate_polyarea(shp->data.poly.pa, &it); @@ -584,7 +584,7 @@ { pcb_poly_it_t it; if (shp->data.poly.pa == NULL) - pcb_padstack_shape_update_pline(&shp->data.poly); + pcb_padstack_shape_update_pa(&shp->data.poly); if (shp->data.poly.pa == NULL) return NULL; pcb_poly_iterate_polyarea(shp->data.poly.pa, &it);