Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 16634) +++ trunk/src/polygon.c (revision 16635) @@ -1346,7 +1346,6 @@ case 1: pcb_crosshair.AttachedPolygon.PointN = 0; pcb_crosshair.AttachedLine.State = PCB_CH_STATE_FIRST; - pcb_added_lines = 0; break; /* back-up one point */ @@ -1450,7 +1449,6 @@ /* reset state of attached line */ pcb_crosshair.AttachedLine.State = PCB_CH_STATE_FIRST; - pcb_added_lines = 0; /* add to undo list */ pcb_undo_add_obj_to_create(PCB_OBJ_POLY, layer, polygon, polygon); @@ -1517,7 +1515,6 @@ memset(&pcb_crosshair.AttachedPolygon, 0, sizeof(pcb_poly_t)); pcb_crosshair.AttachedLine.State = PCB_CH_STATE_FIRST; pcb_crosshair.AttachedObject.State = PCB_CH_STATE_FIRST; - pcb_added_lines = 0; } /* find polygon holes in range, then call the callback function for