[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36364] trunk/blender/source/blender/ editors/space_view3d/drawarmature.c: Mwahahahaha! I think I' ve found the cause of that awful purple/pink

Joshua Leung aligorith at gmail.com
Thu Apr 28 09:10:13 CEST 2011


Revision: 36364
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36364
Author:   aligorith
Date:     2011-04-28 07:10:13 +0000 (Thu, 28 Apr 2011)
Log Message:
-----------
Mwahahahaha! I think I've found the cause of that awful purple/pink
"glow" that was appearing on bones drawn using "octahedral" from
certain angles. It seems to have been caused by a typo in the code
used to "clear spec colour"

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

Modified: trunk/blender/source/blender/editors/space_view3d/drawarmature.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/drawarmature.c	2011-04-28 06:20:47 UTC (rev 36363)
+++ trunk/blender/source/blender/editors/space_view3d/drawarmature.c	2011-04-28 07:10:13 UTC (rev 36364)
@@ -2440,7 +2440,7 @@
 		/* we use color for solid lighting */
 		glColorMaterial(GL_FRONT_AND_BACK, GL_SPECULAR);
 		glEnable(GL_COLOR_MATERIAL);
-		glColor3ub(255,0,255);	// clear spec
+		glColor3ub(255,255,255);	// clear spec
 		glDisable(GL_COLOR_MATERIAL);
 		
 		glColorMaterial(GL_FRONT_AND_BACK, GL_DIFFUSE);




More information about the Bf-blender-cvs mailing list