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/editors/sculpt_paint/paint_vertex.c
parent50a7cdd1161764b60c87f6deabd2bba38a400de6 (diff)
rename defgroup functions to be more consistant.
* no functional changes *
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c
index debdf4a3118..ece08080374 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -1394,11 +1394,11 @@ static int wpaint_stroke_test_start(bContext *C, wmOperator *op, wmEvent *event)
bPoseChannel *pchan= get_pose_channel(modob->pose, actbone->name);
if(pchan) {
- bDeformGroup *dg= get_named_vertexgroup(ob, pchan->name);
+ bDeformGroup *dg= defgroup_find_name(ob, pchan->name);
if(dg==NULL)
dg= ED_vgroup_add_name(ob, pchan->name); /* sets actdef */
else
- ob->actdef= 1 + get_defgroup_num(ob, dg);
+ ob->actdef= 1 + defgroup_find_index(ob, dg);
}
}
}