I made multitude of fixes based on the comments provided online:
authorJason Hays <jason_hays22@mymail.eku.edu>
Sun, 18 Sep 2011 01:09:18 +0000 (01:09 +0000)
committerJason Hays <jason_hays22@mymail.eku.edu>
Sun, 18 Sep 2011 01:09:18 +0000 (01:09 +0000)
commit1b5d16f1bf80f2da8d3d4da5bbfaf4819c14a225
treebd0b61b204bfc020c9ab781a3e6183a4c45fca6c
parent101937e2ddf4d0453868373b644873586febf6e2
I made multitude of fixes based on the comments provided online:

Removed the drawSelectedVerts and added drawSelectedVertices, which uses dm->foreachMappedVert.

In calc_weightpaint_vert_color():
Made the weight paint color black and return instead of input=-1

Made the pose bone selection normal when multi-paint is inactive.

Name fix for functions using mv instead of mvert.

Used vector functions provided by the math lib.

Changed some MEM_callocN references to be stacks.

Changed dm_deform_clear to use ob->derivedDeform primarily

Made the variable "float **changes" into "float (*changes)[2]"

Used CTX_data_active_object() in place of CTX_data_pointer_get_type()

Added the invert selection hotkey "Ctrl+I" to weight paint's vertex mask.
source/blender/blenkernel/BKE_DerivedMesh.h
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/editors/armature/editarmature.c
source/blender/editors/mesh/editmesh.c
source/blender/editors/object/object_vgroup.c
source/blender/editors/sculpt_paint/paint_intern.h
source/blender/editors/sculpt_paint/paint_ops.c
source/blender/editors/sculpt_paint/paint_utils.c
source/blender/editors/space_view3d/drawobject.c