diff options
author | Joerg Mueller <nexyon@gmail.com> | 2011-10-14 02:19:29 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2011-10-14 02:19:29 +0400 |
commit | 9e17ecf0100af4e95f32a7b03673e880a9fc8d1e (patch) | |
tree | 9e01ee9208ba5e5e900b6bf18a5c95cd2f67c4e4 /source/blender/makesrna | |
parent | d893ac690cfe34e922d34a65a1ca526f8297c129 (diff) |
Fixing [#28907] Frozen playback.
Also fixing two more crashes when audio files don't exist/cannot be read and apply a changed file path of a sound, reported by Jens Verwiebe in IRC.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index a75166c3e99..92739148b99 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -453,6 +453,8 @@ static void rna_Sequence_filepath_set(PointerRNA *ptr, const char *value) PointerRNA id_ptr; RNA_id_pointer_create((ID *)seq->sound, &id_ptr); RNA_string_set(&id_ptr, "filepath", value); + sound_load(G.main, seq->sound); + sound_update_scene_sound(seq->scene_sound, seq->sound); } BLI_split_dirfile(value, dir, name); |