Index: trunk/src/board.c =================================================================== --- trunk/src/board.c (revision 16217) +++ trunk/src/board.c (revision 16218) @@ -80,7 +80,6 @@ ptr = calloc(1, sizeof(pcb_board_t)); ptr->Data = pcb_buffer_new(ptr); - ptr->ThermStyle = 4; conf_set(CFR_INTERNAL, "design/poly_isle_area", -1, "200000000", POL_OVERWRITE); ptr->RatDraw = pcb_false; Index: trunk/src/board.h =================================================================== --- trunk/src/board.h (revision 16217) +++ trunk/src/board.h (revision 16218) @@ -81,7 +81,6 @@ pcb_coord_t MaxWidth, MaxHeight; /* board dimensions (drawing area extents) */ double ThermScale; /* scale factor used with thermals */ - char ThermStyle; /* type of thermal to place with thermal tool */ pcb_fontkit_t fontkit; pcb_layer_stack_t LayerGroups; Index: trunk/src_plugins/autoroute/autoroute.c =================================================================== --- trunk/src_plugins/autoroute/autoroute.c (revision 16217) +++ trunk/src_plugins/autoroute/autoroute.c (revision 16218) @@ -95,6 +95,7 @@ #warning padstack TODO: when style contains proto, remove this #include "src_plugins/lib_compat_help/pstk_compat.h" +#define autoroute_therm_style 4 /* #defines to enable some debugging output */ /* @@ -4536,7 +4537,7 @@ pcb_undo_add_obj_to_clear_poly(type, pin->parent.data, pin, pin, pcb_false); pcb_poly_restore_to_poly(PCB->Data, PCB_OBJ_PSTK, LAYER_PTR(p->layer), pin); pcb_undo_add_obj_to_flag(pin); - PCB_FLAG_THERM_ASSIGN(p->layer, PCB->ThermStyle, pin); + PCB_FLAG_THERM_ASSIGN(p->layer, autoroute_therm_style, pin); pcb_undo_add_obj_to_clear_poly(type, pin->parent.data, pin, pin, pcb_true); pcb_poly_clear_from_poly(PCB->Data, PCB_OBJ_PSTK, LAYER_PTR(p->layer), pin); changed = pcb_true;