[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25385] trunk/blender/source/blender/ editors/space_view3d/view3d_view.c: Fix #20250: smooth view poor performance compared to 2.49.

Brecht Van Lommel brecht at blender.org
Mon Dec 14 22:31:37 CET 2009


Revision: 25385
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25385
Author:   blendix
Date:     2009-12-14 22:31:36 +0100 (Mon, 14 Dec 2009)

Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/view3d_view.c

Modified: trunk/blender/source/blender/editors/space_view3d/view3d_view.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_view.c	2009-12-14 20:56:19 UTC (rev 25384)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_view.c	2009-12-14 21:31:36 UTC (rev 25385)
@@ -297,7 +297,7 @@
 			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;
 		}





More information about the Bf-blender-cvs mailing list