bugfix [#25712] Deletion of vertex groups under script control causes incorrect reass...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 21 Jan 2011 05:09:32 +0000 (05:09 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 21 Jan 2011 05:09:32 +0000 (05:09 +0000)
commitd9f7a05f2ee88d3062445d2f3ac439f5f10b3223
tree819f9e300ce0f1623bb7a4d25c2a4b0e67780ac6
parent26429d0a631ff5637ee40cfb187b88dfa2670091
bugfix [#25712] Deletion of vertex groups under script control causes incorrect reassignment of vertices in other groups

vgroup functions were mixing up active group and one passed as an argument.

also made other changes.
- removed superfluous call to defvert_find_index() in vgroup_delete_object_mode(), was also doing unnecessary NULL check on each loop.
- remove paranoid NULL check from ED_vgroup_vert_remove, callers all check for valid 'ob'
source/blender/editors/object/object_vgroup.c