vertex group changes,
authorCampbell Barton <ideasman42@gmail.com>
Wed, 14 Dec 2011 21:08:08 +0000 (21:08 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 14 Dec 2011 21:08:08 +0000 (21:08 +0000)
commit3d5330f789c287666b875706c84228520473add5
tree8202068ce1276684f901a544557e804cc60133be
parentb9614b0e523e3fd8c5584e07d6892383adcc9952
vertex group changes,

use more api functions more (some vertex group editing functions were copied about), also make some functions int oapi calls.

- remove defgroup_find_index(), use BLI_findlink instead since they both work the same way.
- move static function getNearestPointOnPlane() to BLI_math api function closest_to_plane_v3()
- ED_vgroup_give_parray() added option to return an array where unselected verts are NULL (simplifies code & works for lattice when it didn't before).
- more consistant error checking of ob->actdef.
source/blender/blenkernel/BKE_deform.h
source/blender/blenkernel/intern/deform.c
source/blender/blenlib/BLI_math_geom.h
source/blender/blenlib/intern/math_geom.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/object/object_vgroup.c
source/blender/editors/sculpt_paint/paint_vertex.c
source/blender/makesrna/intern/rna_object_api.c