diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-26 07:57:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-26 07:57:14 +0300 |
commit | 86b81d25ea1ed696adc82ec39088e24f7a6422f0 (patch) | |
tree | 1c11a0e5cfe4c2fff22d486095fe746963d90e0f /source/blender/editors/animation/drivers.c | |
parent | 24b083c8f3c004619d5e350132768cc9f865d909 (diff) |
Missed from merge commit
Diffstat (limited to 'source/blender/editors/animation/drivers.c')
-rw-r--r-- | source/blender/editors/animation/drivers.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c index 8c3d4661b32..1a3d82e5002 100644 --- a/source/blender/editors/animation/drivers.c +++ b/source/blender/editors/animation/drivers.c @@ -48,6 +48,7 @@ #include "BKE_context.h" #include "BKE_report.h" +#include "DEG_depsgraph.h" #include "DEG_depsgraph_build.h" #include "ED_keyframing.h" @@ -1031,8 +1032,8 @@ static int paste_driver_button_exec(bContext *C, wmOperator *op) UI_context_update_anim_flag(C); - DAG_relations_tag_update(CTX_data_main(C)); - DAG_id_tag_update(ptr.id.data, OB_RECALC_OB | OB_RECALC_DATA); + DEG_relations_tag_update(CTX_data_main(C)); + DEG_id_tag_update(ptr.id.data, OB_RECALC_OB | OB_RECALC_DATA); WM_event_add_notifier(C, NC_ANIMATION | ND_KEYFRAME_PROP, NULL); // XXX |