This script is obsolete,
I've limited some freedom by forcing the user to be in
shift+K
will fill all selected faces/ verts with the brush colour.selected faces
During a recent conversation with Jimmy Gunawan of blendersushi I remembered that I wanted to write a script that lets me paint the vertex color map as a function of which faces are selected. Here's a version of this script that runs in vertex paint mode with face masking mode on. i'll leave refactoring this snippet to you.I've limited some freedom by forcing the user to be in
'VERTEX_PAINT'
and Face Masking Active
, but it's safer this way (even after some bugfixing by campbell) -- as it is still easy to crash blender in obscure ways otherwise.