Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 850 Lines • ▼ Show 20 Lines | |||||
| static void rna_Scene_fps_update(Main *bmain, Scene *scene, PointerRNA *UNUSED(ptr)) | static void rna_Scene_fps_update(Main *bmain, Scene *scene, PointerRNA *UNUSED(ptr)) | ||||
| { | { | ||||
| DEG_id_tag_update(&scene->id, ID_RECALC_AUDIO_FPS | ID_RECALC_SEQUENCER_STRIPS); | DEG_id_tag_update(&scene->id, ID_RECALC_AUDIO_FPS | ID_RECALC_SEQUENCER_STRIPS); | ||||
| /* NOTE: Tag via dependency graph will take care of all the updates ion the evaluated domain, | /* NOTE: Tag via dependency graph will take care of all the updates ion the evaluated domain, | ||||
| * however, changes in FPS actually modifies an original skip length, | * however, changes in FPS actually modifies an original skip length, | ||||
| * so this we take care about here. */ | * so this we take care about here. */ | ||||
| SEQ_sound_update_length(bmain, scene); | SEQ_sound_update_length(bmain, scene); | ||||
| SEQ_relations_framechange_update_recursive(scene, &scene->ed->seqbase); | |||||
| } | } | ||||
| static void rna_Scene_listener_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr)) | static void rna_Scene_listener_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr)) | ||||
| { | { | ||||
| DEG_id_tag_update(&scene->id, ID_RECALC_AUDIO_LISTENER); | DEG_id_tag_update(&scene->id, ID_RECALC_AUDIO_LISTENER); | ||||
| } | } | ||||
| static void rna_Scene_volume_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr) | static void rna_Scene_volume_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr) | ||||
| ▲ Show 20 Lines • Show All 7,113 Lines • Show Last 20 Lines | |||||