Index: trouter.c =================================================================== --- trouter.c (revision 32385) +++ trouter.c (revision 32386) @@ -236,6 +236,7 @@ pcb_undo_add_obj_to_create(PCB_OBJ_PSTK, ps, ps, ps); PCB_FLAG_SET(PCB_FLAG_AUTO, ps); + cnt_add++; continue; } @@ -292,6 +293,9 @@ break; } + if ((cnt_add > 0) || (cnt_del > 0)) + pcb_undo_inc_serial(); + rnd_message(RND_MSG_INFO, "External autorouter: imported %ld objects, removed %ld objets\n", cnt_add, cnt_del); return 0;