[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43347] trunk/blender/source/blender/ editors/space_view3d/drawobject.c: fix for weight paint wire draw leaving GL_BLEND enabled ( made pose bones draw with low alpha)

Campbell Barton ideasman42 at gmail.com
Fri Jan 13 09:38:33 CET 2012


Revision: 43347
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43347
Author:   campbellbarton
Date:     2012-01-13 08:38:26 +0000 (Fri, 13 Jan 2012)
Log Message:
-----------
fix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with low alpha)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_view3d/drawobject.c

Modified: trunk/blender/source/blender/editors/space_view3d/drawobject.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/drawobject.c	2012-01-13 08:28:51 UTC (rev 43346)
+++ trunk/blender/source/blender/editors/space_view3d/drawobject.c	2012-01-13 08:38:26 UTC (rev 43347)
@@ -3178,6 +3178,7 @@
 			bglPolygonOffset(rv3d->dist, 0.0);
 			glDepthMask(1);
 			glDisable(GL_LINE_STIPPLE);
+			glDisable(GL_BLEND);
 
 			GPU_disable_material();
 			



More information about the Bf-blender-cvs mailing list