Mwahahahaha! I think I've found the cause of that awful purple/pink
authorJoshua Leung <aligorith@gmail.com>
Thu, 28 Apr 2011 07:10:13 +0000 (07:10 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 28 Apr 2011 07:10:13 +0000 (07:10 +0000)
"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"

source/blender/editors/space_view3d/drawarmature.c

index e68e1657096dc1933becab684752ee70b1af0811..3c570708032217c0588385c1244541571cede149 100644 (file)
@@ -2440,7 +2440,7 @@ int draw_armature(Scene *scene, View3D *v3d, ARegion *ar, Base *base, int dt, in
                /* 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);