Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-26 16:50:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-26 16:50:17 +0300
commite307f6c6a0476d0ad68aded9033ec4f18532b58a (patch)
tree118431f3a2321a2e5a74b49e09c23c01294ed17c /source/blender/makesrna/intern/rna_object_api.c
parent50a7cdd1161764b60c87f6deabd2bba38a400de6 (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.c2
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;