Index: obj_term.c =================================================================== --- obj_term.c (revision 11863) +++ obj_term.c (revision 11864) @@ -210,6 +210,12 @@ r->obj->Flags = r->Flags; r->Flags = ftmp; + /* Update the attributes */ + if (r->obj->term != NULL) + pcb_attribute_put(&r->obj->Attributes, "term", r->obj->term); + else + pcb_attribute_remove(&r->obj->Attributes, "term"); + if (r->obj->type == PCB_OBJ_POLYGON) pcb_poly_init_clip(r->obj->parent.layer->parent, r->obj->parent.layer, r->obj);