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/editors/sculpt_paint | |
parent | 50a7cdd1161764b60c87f6deabd2bba38a400de6 (diff) |
rename defgroup functions to be more consistant.
* no functional changes *
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 4 |
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); } } } |