diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-23 20:07:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-23 20:07:02 +0300 |
commit | bef18061ec87ece6d1fec88e9fdffcb854eefb13 (patch) | |
tree | 2be82ed673a2074cfbe9c87b5718943ac0208e47 /source/blender/src/editmesh_mods.c | |
parent | d66f828c9bee8177fbd3b0155a48dacbb450189b (diff) |
Select Grouped editdata- minor fix in the menu.
Updated Python Mesh API to support UV and Color layers with names.
Similar to vertex group's
renamed a function in customdata.c CustomData_free_layers -> CustomData_free_layers_active and made CustomData_free_layers accept an index, this is needed so python could free layers that arnt active.
Diffstat (limited to 'source/blender/src/editmesh_mods.c')
-rw-r--r-- | source/blender/src/editmesh_mods.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c index 65566f887f3..693c972ce90 100644 --- a/source/blender/src/editmesh_mods.c +++ b/source/blender/src/editmesh_mods.c @@ -1210,23 +1210,23 @@ void select_mesh_group_menu() { short ret; int selcount, first_item=1; - char str[512] = "Select Grouped%t"; /* total max length is 392 at the moment */ + char str[512] = "Select Grouped%t"; /* total max length is 404 at the moment */ if(G.scene->selectmode & SCE_SELECT_VERTEX) { first_item=0; - strcat(str, "|Verts...| Similar Normal %x1| Same Face Users %x2| Shared Vertex Groups%x3"); + strcat(str, "|Verts...%x-1| Similar Normal %x1| Same Face Users %x2| Shared Vertex Groups%x3"); } if(G.scene->selectmode & SCE_SELECT_EDGE) { if (!first_item) strcat(str, "|%l"); else first_item=1; - strcat(str, "|Edges...| Similar Length %x10| Similar Direction %x20| Same Face Users%x30| Similar Face Angle%x40| Similar Crease%x50"); + strcat(str, "|Edges...%x-1| Similar Length %x10| Similar Direction %x20| Same Face Users%x30| Similar Face Angle%x40| Similar Crease%x50"); } if(G.scene->selectmode & SCE_SELECT_FACE) { if (!first_item) strcat(str, "|%l"); - strcat(str, "|Faces...| Same Material %x100| Same Image %x200| Similar Area %x300| Similar Perimeter %x400| Similar Normal %x500| Similar Co-Planer %x600"); + strcat(str, "|Faces...%x-1| Same Material %x100| Same Image %x200| Similar Area %x300| Similar Perimeter %x400| Similar Normal %x500| Similar Co-Planer %x600"); } |