diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-26 01:09:58 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-26 01:09:58 +0400 |
commit | 0714c8af56ae59f9c92b80213cc0570463dbebcf (patch) | |
tree | 79a217de21c2f4e6b4f070023980c78049010c33 /source/blender/editors/object/object_vgroup.c | |
parent | 4127dba12c4a7e7bfd90b151ce0b873ea964e293 (diff) |
Fix #23991: vertex group sorting used case sensitive string compare,
now it uses case insensitive natural string compare.
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index e943a80040b..76af8feda82 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -2078,7 +2078,7 @@ static int vgroup_sort(void *def_a_ptr, void *def_b_ptr) bDeformGroup *def_a= (bDeformGroup *)def_a_ptr; bDeformGroup *def_b= (bDeformGroup *)def_b_ptr; - return strcmp(def_a->name, def_b->name); + return BLI_natstrcmp(def_a->name, def_b->name); } static int vertex_group_sort_exec(bContext *C, wmOperator *op) |