diff options
author | Richard Antalik <ISS> | 2019-10-08 22:58:45 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2019-10-08 23:10:37 +0300 |
commit | 6d3c34fe9d1eabc7765275ff68600734be0e3acb (patch) | |
tree | 961ebd7f1b8942da13ddae94dc33c02eb75bd5e6 /source/blender/editors/sound/sound_ops.c | |
parent | 234f346c2f938ebb11f0f1e9b2c2a040f3ea5572 (diff) |
Fix T69682: Render Audio ignores animation.
`sound_update_animation_flags_exec` didn't tag depsgraph to update.
Reviewed By: sergey
Maniphest Tasks: T69682
Differential Revision: https://developer.blender.org/D6000
Diffstat (limited to 'source/blender/editors/sound/sound_ops.c')
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index 4e710d31cbb..69745663c02 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -273,8 +273,11 @@ static void sound_update_animation_flags(Scene *scene) static int sound_update_animation_flags_exec(bContext *C, wmOperator *UNUSED(op)) { + Scene *scene = CTX_data_scene(C); + BKE_main_id_tag_idcode(CTX_data_main(C), ID_SCE, LIB_TAG_DOIT, false); sound_update_animation_flags(CTX_data_scene(C)); + DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS); return OPERATOR_FINISHED; } |