Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-17 14:07:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-17 14:07:29 +0400
commitc406ce29742fd44995f29768e593f00a7805df2c (patch)
tree4aafd126307728211582c076c435a50233e1fa48 /source/blender/makesrna/intern/rna_sequencer_api.c
parentdfa075b66246f845a933611e768c638fb8c10bf5 (diff)
minor improvement - entering "//somepath" in the file selector didnt expand from the current blend files path.
also quiet warning.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer_api.c b/source/blender/makesrna/intern/rna_sequencer_api.c
index 41c6f046c04..748c66499d8 100644
--- a/source/blender/makesrna/intern/rna_sequencer_api.c
+++ b/source/blender/makesrna/intern/rna_sequencer_api.c
@@ -202,7 +202,7 @@ static Sequence *rna_Sequences_new_sound(ID *id, Editing *ed, Main *bmain, Repor
seq = alloc_generic_sequence(ed, name, start_frame, channel, SEQ_SOUND, sound->name);
seq->sound = sound;
- seq->len = ceil(sound_get_length(sound) * FPS);
+ seq->len = ceil((double)sound_get_length(sound) * FPS);
seq->scene_sound = sound_add_scene_sound(scene, seq, start_frame, start_frame + seq->len, 0);