Fix T62935: Missing tag when copying constraints
This commit is contained in:
@@ -1571,7 +1571,7 @@ static int object_constraint_copy_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
/* if we're not handling the object we're copying from, copy all constraints over */
|
||||
if (obact != ob) {
|
||||
BKE_constraints_copy(&ob->constraints, &obact->constraints, true);
|
||||
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
|
||||
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY | ID_RECALC_TRANSFORM);
|
||||
}
|
||||
}
|
||||
CTX_DATA_END;
|
||||
|
||||
Reference in New Issue
Block a user