[Bf-blender-cvs] [c87e467e390] master: Fix T62935: Missing tag when copying constraints
Jacques Lucke
noreply at git.blender.org
Wed Mar 27 14:50:14 CET 2019
Commit: c87e467e390ab97ed156ee0aa5cf22eb26ae78a7
Author: Jacques Lucke
Date: Wed Mar 27 14:48:48 2019 +0100
Branches: master
https://developer.blender.org/rBc87e467e390ab97ed156ee0aa5cf22eb26ae78a7
Fix T62935: Missing tag when copying constraints
===================================================================
M source/blender/editors/object/object_constraint.c
===================================================================
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c
index f095edc2d60..fe01764de1f 100644
--- a/source/blender/editors/object/object_constraint.c
+++ b/source/blender/editors/object/object_constraint.c
@@ -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;
More information about the Bf-blender-cvs
mailing list