[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30618] branches/soc-2010-merwin/intern/ ghost/intern/GHOST_SystemWin32.cpp: get more mouse events only when in hi-fi mode

Mike Erwin significant.bit at gmail.com
Thu Jul 22 09:18:12 CEST 2010


Revision: 30618
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30618
Author:   merwin
Date:     2010-07-22 09:18:12 +0200 (Thu, 22 Jul 2010)

Log Message:
-----------
get more mouse events only when in hi-fi mode

Modified Paths:
--------------
    branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp

Modified: branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
--- branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp	2010-07-22 07:15:00 UTC (rev 30617)
+++ branches/soc-2010-merwin/intern/ghost/intern/GHOST_SystemWin32.cpp	2010-07-22 07:18:12 UTC (rev 30618)
@@ -1074,8 +1074,13 @@
 						// if (m_input_fidelity_hint == HI_FI) // can't access hint from static function
 							
 						putchar('\n');
-						/* int n = */ getMoreMousePoints(mousePosX, mousePosY, xPrev, yPrev, window);
-//						printf("%d more mouse points found\n", n);
+
+						if (m_input_fidelity_hint == HI_FI)
+							{
+							/* int n = */ getMoreMousePoints(mousePosX, mousePosY, xPrev, yPrev, window);
+							// printf("%d more mouse points found\n", n);
+							}
+
 						printf("  (%d,%d)\n", mousePosX, mousePosY);
 
 						event = processCursorEvent(GHOST_kEventCursorMove, window, mousePosX, mousePosY);





More information about the Bf-blender-cvs mailing list