[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53858] trunk/blender/intern/ghost/intern/ GHOST_WindowX11.cpp: fix for GHOST/ X11 using uninitialized memory for the tablets active state.

Campbell Barton ideasman42 at gmail.com
Wed Jan 16 23:00:04 CET 2013


Revision: 53858
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53858
Author:   campbellbarton
Date:     2013-01-16 22:00:03 +0000 (Wed, 16 Jan 2013)
Log Message:
-----------
fix for GHOST/X11 using uninitialized memory for the tablets active state. (possible cause of reported glitches in tablet use).

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp	2013-01-16 21:09:54 UTC (rev 53857)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp	2013-01-16 22:00:03 UTC (rev 53858)
@@ -456,6 +456,8 @@
 
 #ifdef WITH_X11_XINPUT
 	initXInputDevices();
+
+	m_tabletData.Active = GHOST_kTabletModeNone;
 #endif
 
 	/* now set up the rendering context. */




More information about the Bf-blender-cvs mailing list