Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
| Show First 20 Lines • Show All 2,661 Lines • ▼ Show 20 Lines | void DepsgraphRelationBuilder::build_simulation(Simulation *simulation) | ||||
| add_relation(nodetree_key, simulation_eval_key, "NodeTree -> Simulation", 0); | add_relation(nodetree_key, simulation_eval_key, "NodeTree -> Simulation", 0); | ||||
| } | } | ||||
| void DepsgraphRelationBuilder::build_scene_sequencer(Scene *scene) | void DepsgraphRelationBuilder::build_scene_sequencer(Scene *scene) | ||||
| { | { | ||||
| if (scene->ed == nullptr) { | if (scene->ed == nullptr) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (built_map_.checkIsBuiltAndTag(scene, BuilderMap::TAG_SCENE_SEQUENCER)) { | |||||
| return; | |||||
| } | |||||
| build_scene_audio(scene); | build_scene_audio(scene); | ||||
| ComponentKey scene_audio_key(&scene->id, NodeType::AUDIO); | ComponentKey scene_audio_key(&scene->id, NodeType::AUDIO); | ||||
| /* Make sure dependencies from sequences data goes to the sequencer evaluation. */ | /* Make sure dependencies from sequences data goes to the sequencer evaluation. */ | ||||
| ComponentKey sequencer_key(&scene->id, NodeType::SEQUENCER); | ComponentKey sequencer_key(&scene->id, NodeType::SEQUENCER); | ||||
| Sequence *seq; | Sequence *seq; | ||||
| bool has_audio_strips = false; | bool has_audio_strips = false; | ||||
| SEQ_ALL_BEGIN (scene->ed, seq) { | SEQ_ALL_BEGIN (scene->ed, seq) { | ||||
| build_idproperties(seq->prop); | build_idproperties(seq->prop); | ||||
| ▲ Show 20 Lines • Show All 250 Lines • Show Last 20 Lines | |||||