[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41856] trunk/blender/release/bin/ blender-softwaregl: Workaround for half-transparent windows when running blender-softwaregl
Sergey Sharybin
sergey.vfx at gmail.com
Tue Nov 15 08:28:21 CET 2011
Revision: 41856
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41856
Author: nazgul
Date: 2011-11-15 07:28:18 +0000 (Tue, 15 Nov 2011)
Log Message:
-----------
Workaround for half-transparent windows when running blender-softwaregl
and compiz effects are enabled.
Thanks to Nicholas Bishop for pointing in possible solution of this issue.
Modified Paths:
--------------
trunk/blender/release/bin/blender-softwaregl
Modified: trunk/blender/release/bin/blender-softwaregl
===================================================================
--- trunk/blender/release/bin/blender-softwaregl 2011-11-15 07:09:41 UTC (rev 41855)
+++ trunk/blender/release/bin/blender-softwaregl 2011-11-15 07:28:18 UTC (rev 41856)
@@ -15,8 +15,11 @@
LD_LIBRARY_PATH_64=${BF_DIST_BIN}/lib:${LD_LIBRARY_PATH_64}
fi
-export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD
+# Workaround for half-transparent windows when compiz is enabled
+XLIB_SKIP_ARGB_VISUALS=1
+export LD_LIBRARY_PATH LD_LIBRARYN32_PATH LD_LIBRARYN64_PATH LD_LIBRARY_PATH_64 LD_PRELOAD XLIB_SKIP_ARGB_VISUALS
+
"$BF_DIST_BIN/$BF_PROGRAM" ${1+"$@"}
exitcode=$?
exit $exitcode
More information about the Bf-blender-cvs
mailing list