diff options
Diffstat (limited to 'source/blender/editors/mesh/editmesh_tools.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index d29a4e21913..ac65820bfea 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -507,6 +507,7 @@ void MESH_OT_remove_doubles(wmOperatorType *ot) { /* identifiers */ ot->name= "Remove Doubles"; + ot->description= "Remove duplicate vertices."; ot->idname= "MESH_OT_remove_doubles"; /* api callbacks */ @@ -747,6 +748,7 @@ void MESH_OT_extrude(wmOperatorType *ot) { /* identifiers */ ot->name= "Extrude"; + ot->description= "Extrude selected vertices, edges or faces."; ot->idname= "MESH_OT_extrude"; /* api callbacks */ @@ -756,11 +758,6 @@ void MESH_OT_extrude(wmOperatorType *ot) /* flags */ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; - - /* to give to transform */ - Properties_Proportional(ot); - Properties_Constraints(ot); - RNA_def_boolean(ot->srna, "mirror", 0, "Mirror Editing", ""); } static int split_mesh(bContext *C, wmOperator *op) @@ -790,6 +787,7 @@ void MESH_OT_split(wmOperatorType *ot) { /* identifiers */ ot->name= "Split"; + ot->description= "Split selected geometry into separate disconnected mesh."; ot->idname= "MESH_OT_split"; /* api callbacks */ @@ -850,6 +848,7 @@ void MESH_OT_extrude_repeat(wmOperatorType *ot) { /* identifiers */ ot->name= "Extrude Repeat Mesh"; + ot->description= "Extrude selected vertices, edges or faces repeatedly."; ot->idname= "MESH_OT_extrude_repeat"; /* api callbacks */ @@ -984,6 +983,7 @@ void MESH_OT_spin(wmOperatorType *ot) { /* identifiers */ ot->name= "Spin"; + ot->description= "Extrude selected vertices in a circle around the cursor in indicated viewport."; ot->idname= "MESH_OT_spin"; /* api callbacks */ @@ -1092,6 +1092,7 @@ void MESH_OT_screw(wmOperatorType *ot) { /* identifiers */ ot->name= "Screw"; + ot->description= "Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport."; ot->idname= "MESH_OT_screw"; /* api callbacks */ @@ -1324,6 +1325,7 @@ void MESH_OT_delete(wmOperatorType *ot) { /* identifiers */ ot->name= "Delete"; + ot->description= "Delete selected vertices, edges or faces."; ot->idname= "MESH_OT_delete"; /* api callbacks */ @@ -3768,6 +3770,7 @@ void MESH_OT_edge_rotate(wmOperatorType *ot) { /* identifiers */ ot->name= "Rotate Selected Edge"; + ot->description= "Rotate selected edge or adjoining faces."; ot->idname= "MESH_OT_edge_rotate"; /* api callbacks */ @@ -5002,6 +5005,7 @@ void MESH_OT_rip(wmOperatorType *ot) { /* identifiers */ ot->name= "Rip"; + ot->description= "Rip selection from mesh (quads only)."; ot->idname= "MESH_OT_rip"; /* api callbacks */ @@ -5848,6 +5852,7 @@ void MESH_OT_merge(wmOperatorType *ot) /* identifiers */ ot->name= "Merge"; + ot->description= "Merge selected vertices."; ot->idname= "MESH_OT_merge"; /* api callbacks */ @@ -6050,6 +6055,7 @@ void MESH_OT_select_vertex_path(wmOperatorType *ot) /* identifiers */ ot->name= "Select Vertex Path"; + ot->description= "Select shortest path between two vertices by distance type."; ot->idname= "MESH_OT_select_vertex_path"; /* api callbacks */ @@ -6111,6 +6117,7 @@ void MESH_OT_region_to_loop(wmOperatorType *ot) { /* identifiers */ ot->name= "Region to Loop"; + ot->description= "Select a region as a loop of connected edges."; ot->idname= "MESH_OT_region_to_loop"; /* api callbacks */ @@ -6286,6 +6293,7 @@ void MESH_OT_loop_to_region(wmOperatorType *ot) { /* identifiers */ ot->name= "Loop to Region"; + ot->description= "Select a loop of connected edges as a region."; ot->idname= "MESH_OT_loop_to_region"; /* api callbacks */ @@ -6584,6 +6592,7 @@ void MESH_OT_uvs_rotate(wmOperatorType *ot) { /* identifiers */ ot->name= "Rotate UVs"; + ot->description= "Rotate selected UVs."; ot->idname= "MESH_OT_uvs_rotate"; /* api callbacks */ @@ -6601,6 +6610,7 @@ void MESH_OT_uvs_mirror(wmOperatorType *ot) { /* identifiers */ ot->name= "Mirror UVs"; + ot->description= "Mirror selected UVs."; ot->idname= "MESH_OT_uvs_mirror"; /* api callbacks */ @@ -6618,6 +6628,7 @@ void MESH_OT_colors_rotate(wmOperatorType *ot) { /* identifiers */ ot->name= "Rotate Colors"; + ot->description= "Rotate UV/image color layer."; ot->idname= "MESH_OT_colors_rotate"; /* api callbacks */ @@ -6635,6 +6646,7 @@ void MESH_OT_colors_mirror(wmOperatorType *ot) { /* identifiers */ ot->name= "Mirror Colors"; + ot->description= "Mirror UV/image color layer."; ot->idname= "MESH_OT_colors_mirror"; /* api callbacks */ @@ -6668,7 +6680,7 @@ static int subdivide_exec(bContext *C, wmOperator *op) esubdivideflag(obedit, em, 1, smooth, fractal, scene->toolsettings->editbutflag|flag, cuts, 0); DAG_object_flush_update(scene, obedit, OB_RECALC_DATA); - WM_event_add_notifier(C, NC_OBJECT|ND_GEOM_SELECT, obedit); + WM_event_add_notifier(C, NC_OBJECT|ND_GEOM_DATA, obedit); return OPERATOR_FINISHED; } @@ -6677,6 +6689,7 @@ void MESH_OT_subdivide(wmOperatorType *ot) { /* identifiers */ ot->name= "Subdivide"; + ot->description= "Subdivide selected edges."; ot->idname= "MESH_OT_subdivide"; /* api callbacks */ @@ -6959,6 +6972,7 @@ void MESH_OT_fill(wmOperatorType *ot) { /* identifiers */ ot->name= "Fill"; + ot->description= "Create a segment, edge or face."; ot->idname= "MESH_OT_fill"; /* api callbacks */ @@ -6989,6 +7003,7 @@ void MESH_OT_beauty_fill(wmOperatorType *ot) { /* identifiers */ ot->name= "Beauty Fill"; + ot->description= "Arrange geometry on a selected surface to avoid skinny faces."; ot->idname= "MESH_OT_beauty_fill"; /* api callbacks */ @@ -7020,6 +7035,7 @@ void MESH_OT_quads_convert_to_tris(wmOperatorType *ot) { /* identifiers */ ot->name= "Quads to Tris"; + ot->description= "Convert selected quads to triangles."; ot->idname= "MESH_OT_quads_convert_to_tris"; /* api callbacks */ @@ -7049,6 +7065,7 @@ void MESH_OT_tris_convert_to_quads(wmOperatorType *ot) { /* identifiers */ ot->name= "Tris to Quads"; + ot->description= "Convert selected triangles to quads."; ot->idname= "MESH_OT_tris_convert_to_quads"; /* api callbacks */ @@ -7078,6 +7095,7 @@ void MESH_OT_edge_flip(wmOperatorType *ot) { /* identifiers */ ot->name= "Edge Flip"; + ot->description= "Flip selected edge or adjoining faces."; ot->idname= "MESH_OT_edge_flip"; /* api callbacks */ @@ -7124,6 +7142,7 @@ void MESH_OT_faces_shade_smooth(wmOperatorType *ot) { /* identifiers */ ot->name= "Shade Smooth"; + ot->description= "Display faces 'smooth' (using vertex normals)."; ot->idname= "MESH_OT_faces_shade_smooth"; /* api callbacks */ @@ -7152,6 +7171,7 @@ void MESH_OT_faces_shade_flat(wmOperatorType *ot) { /* identifiers */ ot->name= "Shade Flat"; + ot->description= "Display faces 'flat'."; ot->idname= "MESH_OT_faces_shade_flat"; /* api callbacks */ |