minor edits, no functional changes.
[blender-staging.git] / source / blender / editors / object / object_vgroup.c
index bd7983004eb70d904a486e1d1f86336eb3f3baa1..c673ea0fd2d6f1cdffa0957b0468744aee5be21a 100644 (file)
@@ -550,7 +550,7 @@ float ED_vgroup_vert_weight(Object *ob, bDeformGroup *dg, int vertnum)
        return get_vert_def_nr(ob, def_nr, vertnum);
 }
 
-void ED_vgroup_select_by_name(Object *ob, char *name)
+void ED_vgroup_select_by_name(Object *ob, const char *name)
 {      /* note: ob->actdef==0 signals on painting to create a new one, if a bone in posemode is selected */
        ob->actdef= defgroup_name_index(ob, name) + 1;
 }