forked from bartvdbraak/blender
fix [#30788] Weight paint mode draws mask single sided only when selected.
error with recent refactoring.
This commit is contained in:
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);
|
||||
/* dull unselected faces so as not to get in the way of seeing color */
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user