diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-01-20 16:28:26 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-01-20 16:28:26 +0400 |
commit | 59762ff0f729607420fcfe8ad5e337a0c84f6726 (patch) | |
tree | 439ccadfacd2a3783d58b95a1225c82acaf05521 /source/blender/editors/object | |
parent | f70921d90ccbaf6d54f5bcc90a9ef665d9001361 (diff) |
Fix T38291: depgraph tagging was wrong for
OBJECT_OT_constraint_add_with_targets. This now works exactly the same
way as when setting the target via RNA/constraint buttons.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index f816d5a0090..23a17f26569 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -1716,7 +1716,7 @@ static int constraint_add_exec(bContext *C, wmOperator *op, Object *ob, ListBase DAG_id_tag_update(&ob->id, OB_RECALC_DATA | OB_RECALC_OB); } else - DAG_id_tag_update(&ob->id, OB_RECALC_DATA); + DAG_id_tag_update(&ob->id, OB_RECALC_OB); /* notifiers for updates */ WM_event_add_notifier(C, NC_OBJECT | ND_CONSTRAINT | NA_ADDED, ob); |