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>2014-07-18 05:54:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-18 05:55:59 +0400
commita04a8039f0880cd35f92853460eefd066d3d8ef8 (patch)
tree41b3c6e482d49166b7cf2f74f2575283c2f2fee2 /source/blender/editors/object/object_vgroup.c
parent6a58557794262e32c2ceb3d46bb41cc8104232df (diff)
Code cleanup
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r--source/blender/editors/object/object_vgroup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c
index 04e05f1ee5e..6897861c81c 100644
--- a/source/blender/editors/object/object_vgroup.c
+++ b/source/blender/editors/object/object_vgroup.c
@@ -4376,8 +4376,8 @@ static int vertex_group_sort_exec(bContext *C, wmOperator *op)
name_array = vgroup_init_remap(ob);
/*sort vgroup names*/
- switch(sort_type) {
- case SORT_TYPE_NAME:
+ switch (sort_type) {
+ case SORT_TYPE_NAME:
BLI_sortlist(&ob->defbase, vgroup_sort_name);
break;
case SORT_TYPE_BONEHIERARCHY:
@@ -4401,9 +4401,9 @@ static int vertex_group_sort_exec(bContext *C, wmOperator *op)
void OBJECT_OT_vertex_group_sort(wmOperatorType *ot)
{
static EnumPropertyItem vgroup_sort_type[] = {
- {SORT_TYPE_NAME, "NAME", 0, "Name", ""},
- {SORT_TYPE_BONEHIERARCHY, "BONE_HIERARCHY", 0, "Bone Hierarchy", ""},
- {0, NULL, 0, NULL, NULL}
+ {SORT_TYPE_NAME, "NAME", 0, "Name", ""},
+ {SORT_TYPE_BONEHIERARCHY, "BONE_HIERARCHY", 0, "Bone Hierarchy", ""},
+ {0, NULL, 0, NULL, NULL}
};
ot->name = "Sort Vertex Groups";