Index: thermal.c =================================================================== --- thermal.c (revision 12404) +++ thermal.c (revision 12405) @@ -25,12 +25,17 @@ #include "thermal.h" #include "obj_pinvia_therm.h" +pcb_polyarea_t *pcb_thermal_area_pin(pcb_board_t *pcb, pcb_pin_t *pin, pcb_layer_id_t lid) +{ + ThermPoly(pcb, pin, lid); +} + pcb_polyarea_t *pcb_thermal_area(pcb_board_t *pcb, pcb_any_obj_t *obj, pcb_layer_id_t lid) { switch(obj->type) { case PCB_OBJ_PIN: case PCB_OBJ_VIA: - return ThermPoly(pcb, (pcb_pin_t *)obj, lid); + return pcb_thermal_area_pin(pcb, (pcb_pin_t *)obj, lid); case PCB_OBJ_LINE: case PCB_OBJ_POLYGON: