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-05-01 13:46:47 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-05-03 16:50:40 +0300
commit3369b8289167ddf3dbca0e3895d598bf73534124 (patch)
tree81a5025da18727686a03644d0fa45eb3999c0695 /source/blender/depsgraph/intern/depsgraph_tag.cc
parente8f10d6475765685acee21ca5e8d48f568ee2031 (diff)
Depsgraph: Add scene audio component
The idea is to make that responsible for dealing with things like audio update on frame jump and such.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index f7d7b76cb69..d8e895364ca 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -218,6 +218,9 @@ void depsgraph_tag_to_component_opcode(const ID *id,
case ID_RECALC_SEQUENCER:
*component_type = NodeType::SEQUENCER;
break;
+ case ID_RECALC_AUDIO_JUMP:
+ *component_type = NodeType::AUDIO;
+ break;
case ID_RECALC_ALL:
case ID_RECALC_PSYS_ALL:
BLI_assert(!"Should not happen");
@@ -620,6 +623,8 @@ const char *DEG_update_tag_as_string(IDRecalcFlag flag)
return "EDITORS";
case ID_RECALC_SEQUENCER:
return "SEQUENCER";
+ case ID_RECALC_AUDIO_JUMP:
+ return "AUDIO_JUMP";
case ID_RECALC_ALL:
return "ALL";
}