[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23277] trunk/blender/intern/ghost/intern/ GHOST_WindowWin32.cpp: 2.5 Ghost Compile Fix for windows.

Thomas Dinges dingto at gmx.de
Wed Sep 16 19:13:03 CEST 2009


Revision: 23277
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23277
Author:   dingto
Date:     2009-09-16 19:13:03 +0200 (Wed, 16 Sep 2009)

Log Message:
-----------
2.5 Ghost Compile Fix for windows. Patch by b333rt. Thanks! 

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

Modified: trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp	2009-09-16 17:05:32 UTC (rev 23276)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowWin32.cpp	2009-09-16 17:13:03 UTC (rev 23277)
@@ -720,15 +720,15 @@
 					switch (pkt.pkCursor) {
 						case 0: /* first device */
 						case 3: /* second device */
-							m_tabletData->Active = 0; /* puck - not yet supported */
+							m_tabletData->Active = GHOST_kTabletModeNone; /* puck - not yet supported */
 							break;
 						case 1:
 						case 4:
-							m_tabletData->Active = 1; /* stylus */
+							m_tabletData->Active = GHOST_kTabletModeStylus; /* stylus */
 							break;
 						case 2:
 						case 5:
-							m_tabletData->Active = 2; /* eraser */
+							m_tabletData->Active = GHOST_kTabletModeEraser; /* eraser */
 							break;
 					}
 					if (m_maxPressure > 0) {





More information about the Bf-blender-cvs mailing list