diff options
author | Joerg Mueller <nexyon@gmail.com> | 2010-07-18 12:19:44 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2010-07-18 12:19:44 +0400 |
commit | 82e7d6d33241e73e196f057e2b12c83f856ede98 (patch) | |
tree | 06530b5d083985dc1ca81074e68d0373f645fb30 /source/blender/editors | |
parent | 93915f1120125deadedbdb0294a269d33e77f5ea (diff) |
Merging revision 30461 from my GSoC branch, log: Fix for msvc which not has the round function.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 50a5414b6ff..232206af6c6 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -2448,7 +2448,7 @@ static int screen_animation_step(bContext *C, wmOperator *op, wmEvent *event) else sync= (scene->flag & SCE_FRAME_DROP); if((scene->audio.flag & AUDIO_SYNC) && !(sad->flag & ANIMPLAY_FLAG_REVERSE) && finite(time = sound_sync_scene(scene))) - scene->r.cfra = round(time * FPS); + scene->r.cfra = time * FPS + 0.5; else { if(sync) { |