forked from bartvdbraak/blender
UI: Tooltips
- Add missing tooltips to Quick Effects and Subdivide Edge Ring - Add proper tooltip to the Bevel operator - Clearer tooltips for the extrude operators Plus a few other tweaks Suggested by users on Devtalk.
This commit is contained in:
parent
1dd78a3f57
commit
90f8f5cb06
@ -54,6 +54,7 @@ class ObjectModeOperator:
|
||||
|
||||
|
||||
class QuickFur(ObjectModeOperator, Operator):
|
||||
"""Add fur setup to the selected objects"""
|
||||
bl_idname = "object.quick_fur"
|
||||
bl_label = "Quick Fur"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
@ -119,6 +120,7 @@ class QuickFur(ObjectModeOperator, Operator):
|
||||
|
||||
|
||||
class QuickExplode(ObjectModeOperator, Operator):
|
||||
"""Make selected objects explode"""
|
||||
bl_idname = "object.quick_explode"
|
||||
bl_label = "Quick Explode"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
@ -325,6 +327,7 @@ def grid_location(x, y):
|
||||
|
||||
|
||||
class QuickSmoke(ObjectModeOperator, Operator):
|
||||
"""Use selected objects as smoke emitters"""
|
||||
bl_idname = "object.quick_smoke"
|
||||
bl_label = "Quick Smoke"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
@ -429,6 +432,7 @@ class QuickSmoke(ObjectModeOperator, Operator):
|
||||
|
||||
|
||||
class QuickFluid(ObjectModeOperator, Operator):
|
||||
"""Use selected objects in a fluid simulation"""
|
||||
bl_idname = "object.quick_fluid"
|
||||
bl_label = "Quick Fluid"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
@ -24,7 +24,7 @@ from bpy.props import BoolProperty
|
||||
|
||||
|
||||
class VIEW3D_OT_edit_mesh_extrude_individual_move(Operator):
|
||||
"""Extrude individual elements and move"""
|
||||
"""Extrude each individual face separately along local normals"""
|
||||
bl_label = "Extrude Individual and Move"
|
||||
bl_idname = "view3d.edit_mesh_extrude_individual_move"
|
||||
|
||||
@ -65,7 +65,7 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(Operator):
|
||||
|
||||
|
||||
class VIEW3D_OT_edit_mesh_extrude_move(Operator):
|
||||
"""Extrude and move along normals"""
|
||||
"""Extrude region together along the average normal"""
|
||||
bl_label = "Extrude and Move on Normals"
|
||||
bl_idname = "view3d.edit_mesh_extrude_move_normal"
|
||||
|
||||
@ -123,7 +123,7 @@ class VIEW3D_OT_edit_mesh_extrude_move(Operator):
|
||||
|
||||
|
||||
class VIEW3D_OT_edit_mesh_extrude_shrink_fatten(Operator):
|
||||
"""Extrude and move along individual normals"""
|
||||
"""Extrude region together along local normals"""
|
||||
bl_label = "Extrude and Move on Individual Normals"
|
||||
bl_idname = "view3d.edit_mesh_extrude_move_shrink_fatten"
|
||||
|
||||
|
@ -1001,7 +1001,7 @@ class WM_OT_doc_view_manual(Operator):
|
||||
|
||||
|
||||
class WM_OT_doc_view(Operator):
|
||||
"""Load online reference docs"""
|
||||
"""Open online reference docs in.a web browser"""
|
||||
bl_idname = "wm.doc_view"
|
||||
bl_label = "View Documentation"
|
||||
|
||||
|
@ -907,7 +907,7 @@ void MESH_OT_bevel(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Bevel";
|
||||
ot->description = "Edge Bevel";
|
||||
ot->description = "Cut into selected items at an angle to create flat or rounded bevel or chamfer";
|
||||
ot->idname = "MESH_OT_bevel";
|
||||
|
||||
/* api callbacks */
|
||||
|
@ -336,6 +336,7 @@ void MESH_OT_subdivide_edgering(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Subdivide Edge-Ring";
|
||||
ot->description = "Subdivide perpendicular edges to the selected edge ring";
|
||||
ot->idname = "MESH_OT_subdivide_edgering";
|
||||
|
||||
/* api callbacks */
|
||||
@ -6793,7 +6794,7 @@ void MESH_OT_bridge_edge_loops(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Bridge Edge Loops";
|
||||
ot->description = "Make faces between two or more edge loops";
|
||||
ot->description = "Create a bridge of faces between two or more selected edge loops";
|
||||
ot->idname = "MESH_OT_bridge_edge_loops";
|
||||
|
||||
/* api callbacks */
|
||||
|
@ -274,7 +274,7 @@ void ED_operatormacros_mesh(void)
|
||||
|
||||
ot = WM_operatortype_append_macro("MESH_OT_extrude_context_move",
|
||||
"Extrude Region and Move",
|
||||
"Extrude context and move result",
|
||||
"Extrude region together along the average normal",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_context");
|
||||
otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate");
|
||||
@ -283,7 +283,7 @@ void ED_operatormacros_mesh(void)
|
||||
|
||||
ot = WM_operatortype_append_macro("MESH_OT_extrude_region_shrink_fatten",
|
||||
"Extrude Region and Shrink/Fatten",
|
||||
"Extrude along normals and move result",
|
||||
"Extrude region together along local normals",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_region");
|
||||
otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_shrink_fatten");
|
||||
@ -292,7 +292,7 @@ void ED_operatormacros_mesh(void)
|
||||
|
||||
ot = WM_operatortype_append_macro("MESH_OT_extrude_faces_move",
|
||||
"Extrude Individual Faces and Move",
|
||||
"Extrude faces and move result",
|
||||
"Extrude each individual face separately along local normals",
|
||||
OPTYPE_UNDO | OPTYPE_REGISTER);
|
||||
otmacro = WM_operatortype_macro_define(ot, "MESH_OT_extrude_faces_indiv");
|
||||
otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_shrink_fatten");
|
||||
|
@ -3568,7 +3568,7 @@ static void rna_def_unit_settings(BlenderRNA *brna)
|
||||
/* Units */
|
||||
prop = RNA_def_property(srna, "system", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, unit_systems);
|
||||
RNA_def_property_ui_text(prop, "Unit System", "The unit system to use for button display");
|
||||
RNA_def_property_ui_text(prop, "Unit System", "The unit system to use for user interface controls");
|
||||
RNA_def_property_update(prop, NC_WINDOW, "rna_UnitSettings_system_update");
|
||||
|
||||
prop = RNA_def_property(srna, "system_rotation", PROP_ENUM, PROP_NONE);
|
||||
|
Loading…
Reference in New Issue
Block a user