diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-26 16:50:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-26 16:50:17 +0300 |
commit | e307f6c6a0476d0ad68aded9033ec4f18532b58a (patch) | |
tree | 118431f3a2321a2e5a74b49e09c23c01294ed17c /source/blender/makesrna/intern/rna_object_api.c | |
parent | 50a7cdd1161764b60c87f6deabd2bba38a400de6 (diff) |
rename defgroup functions to be more consistant.
* no functional changes *
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index 6b62a8c7a0b..df4c12edd1d 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -343,7 +343,7 @@ static void rna_Mesh_assign_verts_to_group(Object *ob, bDeformGroup *group, int } Mesh *me = (Mesh*)ob->data; - int group_index = get_defgroup_num(ob, group); + int group_index = defgroup_find_index(ob, group); if (group_index == -1) { BKE_report(reports, RPT_ERROR, "No deform groups assigned to mesh."); return; |