fix [#30788] Weight paint mode draws mask single sided only when selected.

error with recent refactoring.
This commit is contained in:
Campbell Barton 2012-04-05 02:23:00 +00:00
parent fc257b1f71
commit 87adbbbfba

@ -202,8 +202,7 @@ static void draw_mesh_face_select(RegionView3D *rv3d, Mesh *me, DerivedMesh *dm)
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
/* dull unselected faces so as not to get in the way of seeing color */ /* dull unselected faces so as not to get in the way of seeing color */
glColor4ub(96, 96, 96, 64); glColor4ub(96, 96, 96, 64);
dm->drawMappedFacesTex(dm, draw_mesh_face_select__drawFaceOptsInv, NULL, (void *)me); dm->drawMappedFaces(dm, draw_mesh_face_select__drawFaceOptsInv, NULL, NULL, (void *)me, 0);
glDisable(GL_BLEND); glDisable(GL_BLEND);
} }