Index: trunk/src_plugins/rubberband_orig/rubberband.c =================================================================== --- trunk/src_plugins/rubberband_orig/rubberband.c (revision 8487) +++ trunk/src_plugins/rubberband_orig/rubberband.c (revision 8488) @@ -779,7 +779,6 @@ i = rbnd->RubberbandN; ptr = rbnd->Rubberband; while (i) { - if (PCB_FLAG_TEST(PCB_FLAG_VIA, ptr->Line)) { /* this is a rat going to a polygon. do not draw for rubberband */ ; } @@ -817,13 +816,17 @@ } if ((x1 != x2) || (y1 != y2)) { - if(conf_core.editor.move_linepoint_uses_route == 0) { + if (PCB_FLAG_TEST(PCB_FLAG_RAT, ptr->Line)) { + pcb_gui->set_color(pcb_crosshair.GC, conf_core.appearance.color.rat); XORDrawAttachedLine(x1,y1,x2,y2, ptr->Line->Thickness); + } + else if(conf_core.editor.move_linepoint_uses_route == 0) { + pcb_gui->set_color(pcb_crosshair.GC,ptr->Layer->Color); + XORDrawAttachedLine(x1,y1,x2,y2, ptr->Line->Thickness); /* Draw the DRC outline if it is enabled */ if (conf_core.editor.show_drc) { pcb_gui->set_color(pcb_crosshair.GC, conf_core.appearance.color.cross); XORDrawAttachedLine(x1,y1,x2,y2,ptr->Line->Thickness + 2 * (PCB->Bloat + 1) ); - pcb_gui->set_color(pcb_crosshair.GC, conf_core.appearance.color.crosshair); } } else { @@ -852,6 +855,7 @@ pcb_route_draw_drc(&route,pcb_crosshair.GC); pcb_route_destroy(&route); } + pcb_gui->set_color(pcb_crosshair.GC, conf_core.appearance.color.crosshair); } }