Blender Git Commit Log

Git Commits -> Revision 6adb254

Revision 6adb254 by Sybren A. Stüvel (master)
April 17, 2020, 14:33 (GMT)
Fix T75686: Animating scene audio volume doesn't work

Scene audio volume changes require the scene to be tagged with
`ID_RECALC_AUDIO_VOLUME` (see `BKE_scene_update_sound()`). Tagging
happens in the RNA update function `rna_Scene_volume_update()`, but that
function is not called by the animation system. As a result, animated
volume changes are not sent to the audio system.

This commit adds a new depsgraph operation node that sets this tag when
necessary, so that the animated values are used in the rest of the
depsgraph evaluation.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7429

Commit Details:

Full Hash: 6adb254bb046ab337cfd4225ca55e17f196db312
Parent Commit: 27941b0
Lines Changed: +28, -1

6 Modified Paths:

/source/blender/blenkernel/BKE_scene.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+8, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+7, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+9, -1) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.cc (+2, -0) (Diff)
/source/blender/depsgraph/intern/node/deg_node_operation.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021