diff options
author | Michael Fox <mfoxdogg@gmail.com> | 2009-03-23 06:14:56 +0300 |
---|---|---|
committer | Michael Fox <mfoxdogg@gmail.com> | 2009-03-23 06:14:56 +0300 |
commit | baf12bf3a363beb1bbb70a7efe2d626f28b89657 (patch) | |
tree | 4903cfcb37c759a74be71040ca68f6385062b715 /source | |
parent | 438ba310ed39cabb5a22ca7387922316ee2feeac (diff) |
2.5
*******
- added descriptions to view3d operators
- fixed up the object select menu
- fixed a few typos
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 16 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_header.c | 10 |
2 files changed, 20 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 78309a40f94..573d1540a4d 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -549,6 +549,7 @@ void VIEW3D_OT_viewrotate(wmOperatorType *ot) /* identifiers */ ot->name= "Rotate view"; + ot->description = "Rotate the current view."; ot->idname= "VIEW3D_OT_viewrotate"; /* api callbacks */ @@ -630,7 +631,8 @@ void VIEW3D_OT_viewmove(wmOperatorType *ot) { /* identifiers */ - ot->name= "Rotate view"; + ot->name= "Move view"; + ot->description = "Move the current view."; ot->idname= "VIEW3D_OT_viewmove"; /* api callbacks */ @@ -828,6 +830,7 @@ void VIEW3D_OT_viewzoom(wmOperatorType *ot) { /* identifiers */ ot->name= "Zoom view"; + ot->description = "Zoom in/out in the current view."; ot->idname= "VIEW3D_OT_viewzoom"; /* api callbacks */ @@ -910,6 +913,7 @@ void VIEW3D_OT_viewhome(wmOperatorType *ot) { /* identifiers */ ot->name= "View home"; + ot->description = "View all objects in scene."; ot->idname= "VIEW3D_OT_viewhome"; /* api callbacks */ @@ -1048,6 +1052,7 @@ void VIEW3D_OT_viewcenter(wmOperatorType *ot) /* identifiers */ ot->name= "View center"; + ot->description = "Move the view to the world center."; ot->idname= "VIEW3D_OT_viewcenter"; /* api callbacks */ @@ -1118,6 +1123,7 @@ void VIEW3D_OT_render_border(wmOperatorType *ot) { /* identifiers */ ot->name= "Set Render Border"; + ot->description = "Set the boundries of the border render."; ot->idname= "VIEW3D_OT_render_border"; /* api callbacks */ @@ -1291,6 +1297,7 @@ void VIEW3D_OT_border_zoom(wmOperatorType *ot) /* identifiers */ ot->name= "Border Zoom"; + ot->description = "Zoom in the current view to the nearest object contained in the border."; ot->idname= "VIEW3D_OT_border_zoom"; /* api callbacks */ @@ -1458,6 +1465,7 @@ void VIEW3D_OT_viewnumpad(wmOperatorType *ot) { /* identifiers */ ot->name= "View numpad"; + ot->description = "Set the current view."; ot->idname= "VIEW3D_OT_viewnumpad"; /* api callbacks */ @@ -1526,6 +1534,7 @@ void VIEW3D_OT_view_orbit(wmOperatorType *ot) { /* identifiers */ ot->name= "View Orbit"; + ot->description = "Orbit the current view."; ot->idname= "VIEW3D_OT_view_orbit"; /* api callbacks */ @@ -1575,6 +1584,7 @@ void VIEW3D_OT_view_pan(wmOperatorType *ot) { /* identifiers */ ot->name= "View Pan"; + ot->description = "Pan the current view."; ot->idname= "VIEW3D_OT_view_pan"; /* api callbacks */ @@ -1606,6 +1616,7 @@ void VIEW3D_OT_view_persportho(wmOperatorType *ot) { /* identifiers */ ot->name= "View persp/ortho"; + ot->description = "Switch the current view from percpective/orthographic."; ot->idname= "VIEW3D_OT_view_persportho"; /* api callbacks */ @@ -1704,6 +1715,7 @@ void VIEW3D_OT_clipping(wmOperatorType *ot) /* identifiers */ ot->name= "Clipping Border"; + ot->description = "Set the view clipping border."; ot->idname= "VIEW3D_OT_clipping"; /* api callbacks */ @@ -1757,6 +1769,7 @@ void VIEW3D_OT_drawtype(wmOperatorType *ot) { /* identifiers */ ot->name= "Change draw type"; + ot->description = "Change the view type of the current view."; ot->idname= "VIEW3D_OT_drawtype"; /* api callbacks */ @@ -1833,6 +1846,7 @@ void VIEW3D_OT_cursor3d(wmOperatorType *ot) /* identifiers */ ot->name= "Set 3D Cursor"; + ot->description = "Set the location of the 3D cursor."; ot->idname= "VIEW3D_OT_cursor3d"; /* api callbacks */ diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index d1ac6976515..2010591d334 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -1039,11 +1039,11 @@ static uiBlock *view3d_select_objectmenu(bContext *C, ARegion *ar, void *arg_unu uiDefMenuSep(block); - uiDefMenuButO(block, "OBJECT_OT_de_select_all", "Select/Deselect All"); - uiDefMenuButO(block, "OBJECT_OT_select_invert", "Inverse"); - uiDefMenuButO(block, "OBJECT_OT_select_random", "Random"); - uiDefMenuButO(block, "OBJECT_OT_select_by_layer", "Select All by Layer"); - uiDefMenuButO(block, "OBJECT_OT_select_by_type", "Select All by Type"); + uiDefMenuButO(block, "OBJECT_OT_selection_de_select_all", "Select/Deselect All"); + uiDefMenuButO(block, "OBJECT_OT_selection_invert", "Inverse"); + uiDefMenuButO(block, "OBJECT_OT_selection_random", "Random"); + uiDefMenuButO(block, "OBJECT_OT_selection_by_layer", "Select All by Layer"); + uiDefMenuButO(block, "OBJECT_OT_selection_by_type", "Select All by Type"); if(ar->alignment==RGN_ALIGN_TOP) { |