diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-26 07:52:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-26 07:52:21 +0300 |
commit | 24b083c8f3c004619d5e350132768cc9f865d909 (patch) | |
tree | d4b6bd946385a81f9692c737d298dfc3ef5a98b4 /source/blender/editors/animation | |
parent | 3ae0be45f1b14a32ae85acdec92744af4d05a4a0 (diff) | |
parent | aba2f8ea67d8c886bbe29f47e44d9e6838e32f25 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/drivers.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/animation/drivers.c b/source/blender/editors/animation/drivers.c index 7bda7f0522c..8c3d4661b32 100644 --- a/source/blender/editors/animation/drivers.c +++ b/source/blender/editors/animation/drivers.c @@ -40,6 +40,7 @@ #include "BLI_string.h" #include "DNA_anim_types.h" +#include "DNA_object_types.h" #include "DNA_texture_types.h" #include "BKE_animsys.h" @@ -1030,6 +1031,11 @@ 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); + + WM_event_add_notifier(C, NC_ANIMATION | ND_KEYFRAME_PROP, NULL); // XXX + MEM_freeN(path); } } |