fixes for weight paint mode:
authorCampbell Barton <ideasman42@gmail.com>
Fri, 7 Sep 2012 05:54:54 +0000 (05:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 7 Sep 2012 05:54:54 +0000 (05:54 +0000)
commitacfff7a65f551f8d7313a93137b1beb4c338ff27
tree6d9eb871d81c0fdf684914d8e5ccca1d5f93f4be
parente70beaacf495f737057bc8b7d0f02818a17acc51
fixes for weight paint mode:
- sample weight didnt work when the object was transformed.
- sample weight didnt work when vertex selection was enabled.
- 'All faces' option is used by weight paint mode, but there was no UI access.

add ED_mesh_pick_face_vert(). which uses the face selection buffer but returns the closest vertex.
release/scripts/startup/bl_ui/space_view3d_toolbar.py
source/blender/editors/include/ED_mesh.h
source/blender/editors/mesh/meshtools.c
source/blender/editors/sculpt_paint/paint_vertex.c