Fix #31199 & #31112: cycles not working well with vertex/weight paint selection
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 May 2012 10:52:29 +0000 (10:52 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 2 May 2012 10:52:29 +0000 (10:52 +0000)
commitd47499f6fcaf140af3d6d38a845a1efa608fb83b
treec9ef015703e71a24ae0a31fefc3e74821a423e90
parentf965858867a6df5825b52060d13d736793e25595
Fix #31199 & #31112: cycles not working well with vertex/weight paint selection
mask drawing.

Now refactored the code a bit so that in no longer calls textured mesh drawing
for the face mask drawing, just handle it as part of regular paint color drawing.
Should also make the blender internal behavior more logical where it would start
showing textures in solid mode when enabling face masking.
source/blender/editors/space_view3d/drawmesh.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_intern.h