diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-15 00:31:36 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-12-15 00:31:36 +0300 |
commit | fd703342420da13d585254496063b6cab7b3e2e2 (patch) | |
tree | ecfa70c2f82b3e3ff87653654ab87c218726574a /source | |
parent | e7b4d36fd6a57fb88fdca861dc251a6a8bdf6355 (diff) |
Fix #20250: smooth view poor performance compared to 2.49. Increased the
frame rate of smooth view from 30 to 100, makes it looks smoother when it
can redraw at that speed, otherwise will simply drop frames anyway.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index a4f24e90080..424ae13ca18 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -297,7 +297,7 @@ void smooth_view(bContext *C, Object *oldcamera, Object *camera, float *ofs, flo if(rv3d->smooth_timer) WM_event_remove_timer(CTX_wm_manager(C), CTX_wm_window(C), rv3d->smooth_timer); /* TIMER1 is hardcoded in keymap */ - rv3d->smooth_timer= WM_event_add_timer(CTX_wm_manager(C), CTX_wm_window(C), TIMER1, 1.0/30.0); /* max 30 frs/sec */ + rv3d->smooth_timer= WM_event_add_timer(CTX_wm_manager(C), CTX_wm_window(C), TIMER1, 1.0/100.0); /* max 30 frs/sec */ return; } |