diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-03 17:30:34 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-03 17:31:33 +0300 |
commit | 5b2705adf659455399cecf873f7548e5e293f521 (patch) | |
tree | 1a50137935aca1f419a3e1e10dc43ba4e43e605a /source | |
parent | c44144835974ad877212973a4ae45c03b7c66f80 (diff) |
Fix T66353: VSE: Missing updates when moving strip with animation
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 2 | ||||
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 971ca77ff3d..f2e0ee0c7fa 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -5203,6 +5203,8 @@ void BKE_sequencer_offset_animdata(Scene *scene, Sequence *seq, int ofs) } } } + + DEG_id_tag_update(&scene->adt->action->id, ID_RECALC_ANIMATION); } void BKE_sequencer_dupe_animdata(Scene *scene, const char *name_src, const char *name_dst) diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 22900ee3787..7c4f9f1d95b 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -617,6 +617,8 @@ static void viewRedrawForce(const bContext *C, TransInfo *t) } else if (t->spacetype == SPACE_SEQ) { WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, NULL); + /* Keyframes on strips has been moved, so make sure related editos are informed. */ + WM_event_add_notifier(C, NC_ANIMATION, NULL); } else if (t->spacetype == SPACE_IMAGE) { if (t->options & CTX_MASK) { |