Index: trunk/src/draw.c =================================================================== --- trunk/src/draw.c (revision 17365) +++ trunk/src/draw.c (revision 17366) @@ -847,7 +847,7 @@ else pcb_draw_out.direct = 1; - hid->set_color(pcb_draw_out.pmGC, "erase"); + hid->set_color(pcb_draw_out.pmGC, "#00FFFF"); hid->set_color(pcb_draw_out.drillGC, "drill"); hid->set_color(pcb_draw_out.padGC, conf_core.appearance.color.pin); hid->set_color(pcb_draw_out.backpadGC, conf_core.appearance.color.invisible_objects); Index: trunk/src/draw_composite.c =================================================================== --- trunk/src/draw_composite.c (revision 17365) +++ trunk/src/draw_composite.c (revision 17366) @@ -139,8 +139,6 @@ pcb_hid_gc_t old_fg = pcb_draw_out.fgGC; pcb_draw_out.fgGC = pcb_draw_out.pmGC; l->meta.real.color = ctx->color; - if (!want_add) - l->meta.real.color = "erase"; if (l->comb & PCB_LYC_AUTO) draw_auto(ctx, auto_data); pcb_draw_layer(l, ctx->screen); Index: trunk/src/hid.h =================================================================== --- trunk/src/hid.h (revision 17365) +++ trunk/src/hid.h (revision 17366) @@ -287,12 +287,9 @@ void (*render_burst)(pcb_burst_op_t op, const pcb_box_t *screen); /* Sets a color. Names can be like "red" or "#rrggbb" or special - names like "erase". *Always* use the "erase" color for removing - ink (like polygon reliefs or thermals), as you cannot rely on - knowing the background color or special needs of the HID. Always - use the "drill" color to draw holes. You may assume this is - cheap enough to call inside the redraw callback, but not cheap - enough to call for each item drawn. */ + names like "drill". Always use the "drill" color to draw holes. + You may assume this is cheap enough to call inside the redraw + callback, but not cheap enough to call for each item drawn. */ void (*set_color)(pcb_hid_gc_t gc, const char *name); /* Sets the line style. While calling this is cheap, calling it with