Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-06-17 12:04:17 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-06-17 12:04:17 +0300
commit7b8d4904d21e796f90c68fca797f051c2d536894 (patch)
tree51a502749308ef5486743f4664600f17c71ba36c /source/blender/render
parent5364e62b0535cdadbd1db27dc1633cfd253a49ef (diff)
Fix T65817: Video Sequencer doesen't render speakers' sounds
Part of the issue was caused by missing speaker objects in the depsgraph used for post-processing. Remaining part was caused by missing scene sound update for this depsgraph.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/pipeline.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index e0576d6b253..1910cec24a6 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -2071,10 +2071,8 @@ void RE_SetReports(Render *re, ReportList *reports)
static void render_update_depsgraph(Render *re)
{
Scene *scene = re->scene;
- /* TODO(sergey): This doesn't run any callbacks and doesn't do sound update. But we can not use
- * BKE_scene_graph_update_for_newframe() because that one builds dependency graph for view layer
- * and not for the render pipeline. */
DEG_evaluate_on_framechange(re->main, re->pipeline_depsgraph, CFRA);
+ BKE_scene_update_sound(re->pipeline_depsgraph, re->main);
}
static void render_init_depsgraph(Render *re)