Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
| Show First 20 Lines • Show All 560 Lines • ▼ Show 20 Lines | case ID_SCE: | ||||
| build_scene_parameters((Scene *)id); | build_scene_parameters((Scene *)id); | ||||
| break; | break; | ||||
| case ID_SIM: | case ID_SIM: | ||||
| build_simulation((Simulation *)id); | build_simulation((Simulation *)id); | ||||
| break; | break; | ||||
| case ID_PA: | case ID_PA: | ||||
| build_particle_settings((ParticleSettings *)id); | build_particle_settings((ParticleSettings *)id); | ||||
| break; | break; | ||||
| case ID_VE: | |||||
| build_video_edit((VideoEdit *)id); | |||||
| break; | |||||
| case ID_LI: | case ID_LI: | ||||
| case ID_IP: | case ID_IP: | ||||
| case ID_SCR: | case ID_SCR: | ||||
| case ID_VF: | case ID_VF: | ||||
| case ID_BR: | case ID_BR: | ||||
| case ID_WM: | case ID_WM: | ||||
| case ID_PAL: | case ID_PAL: | ||||
| ▲ Show 20 Lines • Show All 2,516 Lines • ▼ Show 20 Lines | void DepsgraphRelationBuilder::build_vfont(VFont *vfont) | ||||
| } | } | ||||
| const BuilderStack::ScopedEntry stack_entry = stack_.trace(vfont->id); | const BuilderStack::ScopedEntry stack_entry = stack_.trace(vfont->id); | ||||
| build_parameters(&vfont->id); | build_parameters(&vfont->id); | ||||
| build_idproperties(vfont->id.properties); | build_idproperties(vfont->id.properties); | ||||
| } | } | ||||
| void DepsgraphRelationBuilder::build_video_edit(VideoEdit *video_edit) | |||||
| { | |||||
| /** FIXME: Handle video edit audio. */ | |||||
| // build_video_edit_audio(video_edit); | |||||
| // ComponentKey scene_audio_key(&scene->id, NodeType::AUDIO); | |||||
| // /* Make sure dependencies from sequences data goes to the sequencer evaluation. */ | |||||
| // ComponentKey sequencer_key(&video_edit->id, NodeType::SEQUENCER); | |||||
| // Seq_build_prop_cb_data cb_data = {this, sequencer_key, false}; | |||||
| // SEQ_for_each_callback(&video_edit->seqbase, seq_build_prop_cb, &cb_data); | |||||
| // if (cb_data.has_audio_strips) { | |||||
| // add_relation(sequencer_key, scene_audio_key, "Sequencer -> Audio"); | |||||
| // } | |||||
| } | |||||
| void DepsgraphRelationBuilder::build_copy_on_write_relations() | void DepsgraphRelationBuilder::build_copy_on_write_relations() | ||||
| { | { | ||||
| for (IDNode *id_node : graph_->id_nodes) { | for (IDNode *id_node : graph_->id_nodes) { | ||||
| build_copy_on_write_relations(id_node); | build_copy_on_write_relations(id_node); | ||||
| } | } | ||||
| } | } | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines | |||||