Sound: Fix missing sound sequences length update on FPS change
This commit is contained in:
parent
0767f95a63
commit
86d229f52c
|
@ -817,9 +817,13 @@ static void rna_Scene_camera_update(Main *bmain, Scene *UNUSED(scene_unused), Po
|
|||
DEG_relations_tag_update(bmain);
|
||||
}
|
||||
|
||||
static void rna_Scene_fps_update(Main *UNUSED(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);
|
||||
/* NOTE: Tag via dependency graph will take care of all the updates ion the evaluated domain,
|
||||
* however, changes in FPS actually modifies an original stip length, so this we take care about
|
||||
* here. */
|
||||
BKE_sequencer_refresh_sound_length(bmain, scene);
|
||||
}
|
||||
|
||||
static void rna_Scene_listener_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr))
|
||||
|
|
Loading…
Reference in New Issue