Index: obj_pstk_op.c =================================================================== --- obj_pstk_op.c (revision 12855) +++ obj_pstk_op.c (revision 12856) @@ -49,6 +49,7 @@ padstacklist_remove(ps); ps->proto = npid; + ps->protoi = -1; /* only the canonical trshape got copied, not the transofrmed ones */ padstacklist_append(&ctx->buffer.dst->padstack, ps); PCB_FLAG_CLEAR(PCB_FLAG_WARN | PCB_FLAG_FOUND, ps); @@ -127,7 +128,6 @@ { pcb_pstk_invalidate_erase(ps); pcb_undo_move_obj_to_remove(PCB_TYPE_PSTK, ps, ps, ps); - PCB_CLEAR_PARENT(ps); return NULL; }