[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45652] trunk/blender/source/blender/ editors/mesh: Fix #30960: various mesh operators were missing tooltip descriptions.
Brecht Van Lommel
brechtvanlommel at pandora.be
Sun Apr 15 12:07:57 CEST 2012
Revision: 45652
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45652
Author: blendix
Date: 2012-04-15 10:07:57 +0000 (Sun, 15 Apr 2012)
Log Message:
-----------
Fix #30960: various mesh operators were missing tooltip descriptions.
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_select.c
trunk/blender/source/blender/editors/mesh/editmesh_tools.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_select.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_select.c 2012-04-15 10:06:36 UTC (rev 45651)
+++ trunk/blender/source/blender/editors/mesh/editmesh_select.c 2012-04-15 10:07:57 UTC (rev 45652)
@@ -872,12 +872,12 @@
/* identifiers */
ot->name = "Select Similar";
ot->idname = "MESH_OT_select_similar";
+ ot->description = "Select similar vertices, edges or faces by property types";
/* api callbacks */
ot->invoke = WM_menu_invoke;
ot->exec = edbm_select_similar_exec;
ot->poll = ED_operator_editmesh;
- ot->description = "Select similar vertices, edges or faces by property types";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -975,11 +975,11 @@
/* identifiers */
ot->name = "Multi Select Loops";
ot->idname = "MESH_OT_loop_multi_select";
+ ot->description = "Select a loop of connected edges by connection type";
/* api callbacks */
ot->exec = edbm_loop_multiselect_exec;
ot->poll = ED_operator_editmesh;
- ot->description = "Select a loop of connected edges by connection type";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -1080,12 +1080,11 @@
/* identifiers */
ot->name = "Loop Select";
ot->idname = "MESH_OT_loop_select";
- ot->description = "Select a loop";
+ ot->description = "Select a loop of connected edges";
/* api callbacks */
ot->invoke = edbm_select_loop_invoke;
ot->poll = ED_operator_editmesh_region_view3d;
- ot->description = "Select a loop of connected edges";
/* flags */
ot->flag = OPTYPE_UNDO;
@@ -1433,11 +1432,11 @@
/* identifiers */
ot->name = "Shortest Path Select";
ot->idname = "MESH_OT_select_shortest_path";
+ ot->description = "Select shortest path between two selections";
/* api callbacks */
ot->invoke = edbm_shortest_path_select_invoke;
ot->poll = ED_operator_editmesh;
- ot->description = "Select shortest path between two selections";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -1849,11 +1848,11 @@
/* identifiers */
ot->name = "Select Linked";
ot->idname = "MESH_OT_select_linked_pick";
+ ot->description = "(De)select all vertices linked to the edge under the mouse cursor";
/* api callbacks */
ot->invoke = edbm_select_linked_pick_invoke;
ot->poll = ED_operator_editmesh;
- ot->description = "(De)select all vertices linked to the edge under the mouse cursor";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -1947,11 +1946,11 @@
/* identifiers */
ot->name = "Select Linked All";
ot->idname = "MESH_OT_select_linked";
+ ot->description = "Select all vertices linked to the active mesh";
/* api callbacks */
ot->exec = edbm_select_linked_exec;
ot->poll = ED_operator_editmesh;
- ot->description = "Select all vertices linked to the active mesh";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -2187,8 +2186,8 @@
{
/* identifiers */
ot->name = "Select Nth";
- ot->description = "";
ot->idname = "MESH_OT_select_nth";
+ ot->description = "Select every Nth element starting from a selected vertex, edge or face";
/* api callbacks */
ot->exec = edbm_select_nth_exec;
@@ -2513,7 +2512,7 @@
/* identifiers */
ot->name = "Select Next Loop";
ot->idname = "MESH_OT_select_next_loop";
- ot->description = "";
+ ot->description = "Select next edge loop adjacent to a selected loop";
/* api callbacks */
ot->exec = edbm_select_next_loop_exec;
@@ -2581,6 +2580,7 @@
/* identifiers */
ot->name = "Select Boundary Loop";
ot->idname = "MESH_OT_region_to_loop";
+ ot->description = "Select boundary edges around the selected faces";
/* api callbacks */
ot->exec = edbm_region_to_loop_exec;
@@ -2762,6 +2762,7 @@
/* identifiers */
ot->name = "Select Loop Inner-Region";
ot->idname = "MESH_OT_loop_to_region";
+ ot->description = "Select region of faces inside of a selected loop of edges";
/* api callbacks */
ot->exec = edbm_loop_to_region_exec;
Modified: trunk/blender/source/blender/editors/mesh/editmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2012-04-15 10:06:36 UTC (rev 45651)
+++ trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2012-04-15 10:07:57 UTC (rev 45652)
@@ -538,6 +538,7 @@
/* identifiers */
ot->name = "Extrude Region";
ot->idname = "MESH_OT_extrude_region";
+ ot->description = "Extrude region of faces";
/* api callbacks */
//ot->invoke = mesh_extrude_region_invoke;
@@ -568,6 +569,7 @@
/* identifiers */
ot->name = "Extrude Only Vertices";
ot->idname = "MESH_OT_extrude_verts_indiv";
+ ot->description = "Extrude individual vertices only";
/* api callbacks */
ot->exec = edbm_extrude_verts_exec;
@@ -598,6 +600,7 @@
/* identifiers */
ot->name = "Extrude Only Edges";
ot->idname = "MESH_OT_extrude_edges_indiv";
+ ot->description = "Extrude individual edges only";
/* api callbacks */
ot->exec = edbm_extrude_edges_exec;
@@ -628,6 +631,7 @@
/* identifiers */
ot->name = "Extrude Individual Faces";
ot->idname = "MESH_OT_extrude_faces_indiv";
+ ot->description = "Extrude individual faces only";
/* api callbacks */
ot->exec = edbm_extrude_faces_exec;
@@ -883,10 +887,10 @@
/* identifiers */
ot->name = "Duplicate or Extrude at 3D Cursor";
ot->idname = "MESH_OT_dupli_extrude_cursor";
+ ot->description = "Duplicate and extrude selected vertices, edges or faces towards the mouse cursor";
/* api callbacks */
ot->invoke = edbm_dupli_extrude_cursor_invoke;
- ot->description = "Duplicate and extrude selected vertices, edges or faces towards the mouse cursor";
ot->poll = ED_operator_editmesh;
/* flags */
@@ -1098,7 +1102,7 @@
/* identifiers */
ot->name = "Mark Seam";
ot->idname = "MESH_OT_mark_seam";
- ot->description = "(un)mark selected edges as a seam";
+ ot->description = "(Un)mark selected edges as a seam";
/* api callbacks */
ot->exec = edbm_mark_seam;
@@ -1152,7 +1156,7 @@
/* identifiers */
ot->name = "Mark Sharp";
ot->idname = "MESH_OT_mark_sharp";
- ot->description = "(un)mark selected edges as sharp";
+ ot->description = "(Un)mark selected edges as sharp";
/* api callbacks */
ot->exec = edbm_mark_sharp;
@@ -1417,11 +1421,11 @@
/* identifiers */
ot->name = "Hide Selection";
ot->idname = "MESH_OT_hide";
+ ot->description = "Hide (un)selected vertices, edges or faces";
/* api callbacks */
ot->exec = edbm_hide_exec;
ot->poll = ED_operator_editmesh;
- ot->description = "Hide (un)selected vertices, edges or faces";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
@@ -1747,6 +1751,7 @@
/* identifiers */
ot->name = "Rotate UVs";
ot->idname = "MESH_OT_uvs_rotate";
+ ot->description = "Rotate UV coordinates inside faces";
/* api callbacks */
ot->exec = edbm_rotate_uvs_exec;
@@ -1765,6 +1770,7 @@
/* identifiers */
ot->name = "Reverse UVs";
ot->idname = "MESH_OT_uvs_reverse";
+ ot->description = "Flip direction of UV coordinates inside faces";
/* api callbacks */
ot->exec = edbm_reverse_uvs_exec;
@@ -1782,6 +1788,7 @@
/* identifiers */
ot->name = "Rotate Colors";
ot->idname = "MESH_OT_colors_rotate";
+ ot->description = "Rotate vertex colors inside faces";
/* api callbacks */
ot->exec = edbm_rotate_colors_exec;
@@ -1799,6 +1806,7 @@
/* identifiers */
ot->name = "Reverse Colors";
ot->idname = "MESH_OT_colors_reverse";
+ ot->description = "Flip direction of vertex colors inside faces";
/* api callbacks */
ot->exec = edbm_reverse_colors_exec;
@@ -2113,6 +2121,7 @@
/* identifiers */
ot->name = "Select Vertex Path";
ot->idname = "MESH_OT_select_vertex_path";
+ ot->description = "Selected vertex path between two vertices";
/* api callbacks */
ot->exec = edbm_select_vertex_path_exec;
@@ -4556,11 +4565,11 @@
/* identifiers */
ot->name = "Inset Faces";
ot->idname = "MESH_OT_inset";
+ ot->description = "Inset new faces into selected faces";
/* api callbacks */
ot->exec = edbm_inset_exec;
ot->poll = ED_operator_editmesh;
- ot->description = "";
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
More information about the Bf-blender-cvs
mailing list