[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22130] trunk/blender: - X11 tablet was using uninitialized variables.
Campbell Barton
ideasman42 at gmail.com
Sun Aug 2 05:41:43 CEST 2009
Revision: 22130
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22130
Author: campbellbarton
Date: 2009-08-02 05:41:42 +0200 (Sun, 02 Aug 2009)
Log Message:
-----------
- X11 tablet was using uninitialized variables.
- Added BLENDER_FORCE_SWAPBUFFERS in help message.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp
trunk/blender/source/creator/creator.c
Modified: trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp 2009-08-02 03:15:24 UTC (rev 22129)
+++ trunk/blender/intern/ghost/intern/GHOST_WindowX11.cpp 2009-08-02 03:41:42 UTC (rev 22130)
@@ -177,6 +177,8 @@
printf("%s:%d: X11 glxChooseVisual() failed for OpenGL, verify working openGL system!\n", __FILE__, __LINE__);
return;
}
+
+ memset(&m_xtablet, 0, sizeof(m_xtablet));
// Create a bunch of attributes needed to create an X window.
Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c 2009-08-02 03:15:24 UTC (rev 22129)
+++ trunk/blender/source/creator/creator.c 2009-08-02 03:41:42 UTC (rev 22130)
@@ -254,6 +254,10 @@
printf (" $IMAGEEDITOR\t\tImage editor executable, launch with the IKey from the file selector.\n");
printf (" $WINEDITOR\t\tText editor executable, launch with the EKey from the file selector.\n");
printf (" $PYTHONHOME\t\tPath to the python directory, eg. /usr/lib/python.\n");
+#ifdef __linux__
+ printf (" $BLENDER_FORCE_SWAPBUFFERS\tFixes menu drawing with some Intel and Radeon cards\n");
+ printf (" \t\tThe value is not used, only that the env var is set (linux specific).\n");
+#endif
printf ("\nNote: Arguments must be separated by white space. eg:\n");
printf (" \"blender -ba test.blend\"\n");
printf (" ...will ignore the 'a'\n");
More information about the Bf-blender-cvs
mailing list