diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-04-14 20:22:18 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-04-17 17:33:05 +0300 |
commit | 6adb254bb046ab337cfd4225ca55e17f196db312 (patch) | |
tree | 6a568097a02fdd700123ec1411f6b1169a99c6df /source/blender/depsgraph/intern/builder/deg_builder_transitive.h | |
parent | 27941b027b245e4814074698a9bdc193a8d0a0d3 (diff) |
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
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_transitive.h')
0 files changed, 0 insertions, 0 deletions