Cleanup: Fix capitalization in various places
Approximately 33 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D9796 Reviewed by Julian Eisel
This commit is contained in:
parent
dd0520b93b
commit
977ef04746
Notes:
blender-bot
2023-04-04 07:45:26 +02:00
Referenced by issue #87793, OptiX driver crashes when hiding/showing objects in rendered view
|
@ -888,7 +888,7 @@ class LoadImageAsEmpty:
|
|||
filter_folder: BoolProperty(default=True, options={'HIDDEN', 'SKIP_SAVE'})
|
||||
|
||||
view_align: BoolProperty(
|
||||
name="Align to view",
|
||||
name="Align to View",
|
||||
default=True,
|
||||
)
|
||||
|
||||
|
|
|
@ -358,7 +358,7 @@ from bpy.props import (
|
|||
|
||||
|
||||
class AlignObjects(Operator):
|
||||
"""Align Objects"""
|
||||
"""Align objects"""
|
||||
bl_idname = "object.align"
|
||||
bl_label = "Align Objects"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
@ -386,7 +386,7 @@ class AlignObjects(Operator):
|
|||
name="Relative To",
|
||||
description="Reference location to align to",
|
||||
items=(
|
||||
('OPT_1', "Scene Origin", "Use the Scene Origin as the position for the selected objects to align to"),
|
||||
('OPT_1', "Scene Origin", "Use the scene origin as the position for the selected objects to align to"),
|
||||
('OPT_2', "3D Cursor", "Use the 3D cursor as the position for the selected objects to align to"),
|
||||
('OPT_3', "Selection", "Use the selected objects as the position for the selected objects to align to"),
|
||||
('OPT_4', "Active", "Use the active object as the position for the selected objects to align to"),
|
||||
|
|
|
@ -134,7 +134,7 @@ class QuickExplode(ObjectModeOperator, Operator):
|
|||
default='EXPLODE',
|
||||
)
|
||||
amount: IntProperty(
|
||||
name="Amount of pieces",
|
||||
name="Number of Pieces",
|
||||
min=2, max=10000,
|
||||
soft_min=2, soft_max=10000,
|
||||
default=100,
|
||||
|
|
|
@ -503,7 +503,7 @@ static void ANIM_OT_previewrange_clear(wmOperatorType *ot)
|
|||
/* identifiers */
|
||||
ot->name = "Clear Preview Range";
|
||||
ot->idname = "ANIM_OT_previewrange_clear";
|
||||
ot->description = "Clear Preview Range";
|
||||
ot->description = "Clear preview range";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec = previewrange_clear_exec;
|
||||
|
|
|
@ -3838,7 +3838,7 @@ void CURVE_OT_subdivide(wmOperatorType *ot)
|
|||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
prop = RNA_def_int(ot->srna, "number_cuts", 1, 1, 1000, "Number of cuts", "", 1, 10);
|
||||
prop = RNA_def_int(ot->srna, "number_cuts", 1, 1, 1000, "Number of Cuts", "", 1, 10);
|
||||
/* Avoid re-using last var because it can cause _very_ high poly meshes
|
||||
* and annoy users (or worse crash). */
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
|
|
|
@ -1129,7 +1129,7 @@ void MESH_OT_bevel(wmOperatorType *ot)
|
|||
prop_affect_items,
|
||||
BEVEL_AFFECT_EDGES,
|
||||
"Affect",
|
||||
"Affect Edges or Vertices");
|
||||
"Affect edges or vertices");
|
||||
|
||||
RNA_def_boolean(ot->srna,
|
||||
"clamp_overlap",
|
||||
|
|
|
@ -177,6 +177,6 @@ void MESH_OT_knife_project(wmOperatorType *ot)
|
|||
RNA_def_boolean(ot->srna,
|
||||
"cut_through",
|
||||
false,
|
||||
"Cut through",
|
||||
"Cut Through",
|
||||
"Cut through all faces, not just visible ones");
|
||||
}
|
||||
|
|
|
@ -789,7 +789,7 @@ void OBJECT_OT_gpencil_modifier_apply(wmOperatorType *ot)
|
|||
"apply_as",
|
||||
gpencil_modifier_apply_as_items,
|
||||
MODIFIER_APPLY_DATA,
|
||||
"Apply as",
|
||||
"Apply As",
|
||||
"How to apply the modifier to the geometry");
|
||||
gpencil_edit_modifier_properties(ot);
|
||||
gpencil_edit_modifier_report_property(ot);
|
||||
|
|
|
@ -2556,7 +2556,7 @@ static int convert_proxy_to_override_exec(bContext *C, wmOperator *UNUSED(op))
|
|||
void OBJECT_OT_convert_proxy_to_override(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Convert Proxy To Override";
|
||||
ot->name = "Convert Proxy to Override";
|
||||
ot->description = "Convert a proxy to a local library override";
|
||||
ot->idname = "OBJECT_OT_convert_proxy_to_override";
|
||||
|
||||
|
|
|
@ -6781,7 +6781,7 @@ static bool add_simple_uvs_poll(bContext *C)
|
|||
void PAINT_OT_add_simple_uvs(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Add simple UVs";
|
||||
ot->name = "Add Simple UVs";
|
||||
ot->description = "Add cube map uvs on mesh";
|
||||
ot->idname = "PAINT_OT_add_simple_uvs";
|
||||
|
||||
|
|
|
@ -8685,7 +8685,7 @@ static int sculpt_sample_color_invoke(bContext *C,
|
|||
static void SCULPT_OT_sample_color(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Sample color";
|
||||
ot->name = "Sample Color";
|
||||
ot->idname = "SCULPT_OT_sample_color";
|
||||
ot->description = "Sample the vertex color of the active vertex";
|
||||
|
||||
|
|
|
@ -363,7 +363,7 @@ void SCULPT_OT_sample_detail_size(wmOperatorType *ot)
|
|||
0,
|
||||
SHRT_MAX,
|
||||
"Location",
|
||||
"Screen Coordinates of sampling",
|
||||
"Screen coordinates of sampling",
|
||||
0,
|
||||
SHRT_MAX);
|
||||
RNA_def_enum(ot->srna,
|
||||
|
|
|
@ -328,9 +328,9 @@ void SCULPT_OT_color_filter(struct wmOperatorType *ot)
|
|||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
/* rna */
|
||||
RNA_def_enum(ot->srna, "type", prop_color_filter_types, COLOR_FILTER_HUE, "Filter type", "");
|
||||
RNA_def_enum(ot->srna, "type", prop_color_filter_types, COLOR_FILTER_HUE, "Filter Type", "");
|
||||
RNA_def_float(
|
||||
ot->srna, "strength", 1.0f, -10.0f, 10.0f, "Strength", "Filter Strength", -10.0f, 10.0f);
|
||||
ot->srna, "strength", 1.0f, -10.0f, 10.0f, "Strength", "Filter strength", -10.0f, 10.0f);
|
||||
|
||||
PropertyRNA *prop = RNA_def_float_color(
|
||||
ot->srna, "fill_color", 3, NULL, 0.0f, FLT_MAX, "Fill Color", "", 0.0f, 1.0f);
|
||||
|
|
|
@ -80,12 +80,12 @@ static EnumPropertyItem prop_mask_filter_types[] = {
|
|||
{MASK_FILTER_CONTRAST_INCREASE,
|
||||
"CONTRAST_INCREASE",
|
||||
0,
|
||||
"Increase contrast",
|
||||
"Increase Contrast",
|
||||
"Increase the contrast of the paint mask"},
|
||||
{MASK_FILTER_CONTRAST_DECREASE,
|
||||
"CONTRAST_DECREASE",
|
||||
0,
|
||||
"Decrease contrast",
|
||||
"Decrease Contrast",
|
||||
"Decrease the contrast of the paint mask"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
|
|
@ -771,15 +771,15 @@ void SCULPT_OT_mesh_filter(struct wmOperatorType *ot)
|
|||
"type",
|
||||
prop_mesh_filter_types,
|
||||
MESH_FILTER_INFLATE,
|
||||
"Filter type",
|
||||
"Filter Type",
|
||||
"Operation that is going to be applied to the mesh");
|
||||
RNA_def_float(
|
||||
ot->srna, "strength", 1.0f, -10.0f, 10.0f, "Strength", "Filter Strength", -10.0f, 10.0f);
|
||||
ot->srna, "strength", 1.0f, -10.0f, 10.0f, "Strength", "Filter strength", -10.0f, 10.0f);
|
||||
RNA_def_enum_flag(ot->srna,
|
||||
"deform_axis",
|
||||
prop_mesh_filter_deform_axis_items,
|
||||
MESH_FILTER_DEFORM_X | MESH_FILTER_DEFORM_Y | MESH_FILTER_DEFORM_Z,
|
||||
"Deform axis",
|
||||
"Deform Axis",
|
||||
"Apply the deformation in the selected axis");
|
||||
RNA_def_enum(ot->srna,
|
||||
"orientation",
|
||||
|
|
|
@ -1325,8 +1325,8 @@ void ACTION_OT_select_less(wmOperatorType *ot)
|
|||
/* defines for left-right select tool */
|
||||
static const EnumPropertyItem prop_actkeys_leftright_select_types[] = {
|
||||
{ACTKEYS_LRSEL_TEST, "CHECK", 0, "Check if Select Left or Right", ""},
|
||||
{ACTKEYS_LRSEL_LEFT, "LEFT", 0, "Before current frame", ""},
|
||||
{ACTKEYS_LRSEL_RIGHT, "RIGHT", 0, "After current frame", ""},
|
||||
{ACTKEYS_LRSEL_LEFT, "LEFT", 0, "Before Current Frame", ""},
|
||||
{ACTKEYS_LRSEL_RIGHT, "RIGHT", 0, "After Current Frame", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
|
@ -1288,8 +1288,8 @@ void GRAPH_OT_select_less(wmOperatorType *ot)
|
|||
/* defines for left-right select tool */
|
||||
static const EnumPropertyItem prop_graphkeys_leftright_select_types[] = {
|
||||
{GRAPHKEYS_LRSEL_TEST, "CHECK", 0, "Check if Select Left or Right", ""},
|
||||
{GRAPHKEYS_LRSEL_LEFT, "LEFT", 0, "Before current frame", ""},
|
||||
{GRAPHKEYS_LRSEL_RIGHT, "RIGHT", 0, "After current frame", ""},
|
||||
{GRAPHKEYS_LRSEL_LEFT, "LEFT", 0, "Before Current Frame", ""},
|
||||
{GRAPHKEYS_LRSEL_RIGHT, "RIGHT", 0, "After Current Frame", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
|
@ -396,7 +396,7 @@ void INFO_OT_report_copy(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Copy Reports to Clipboard";
|
||||
ot->description = "Copy selected reports to Clipboard";
|
||||
ot->description = "Copy selected reports to clipboard";
|
||||
ot->idname = "INFO_OT_report_copy";
|
||||
|
||||
/* api callbacks */
|
||||
|
|
|
@ -283,7 +283,7 @@ void NODE_OT_backimage_move(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Background Image Move";
|
||||
ot->description = "Move Node backdrop";
|
||||
ot->description = "Move node backdrop";
|
||||
ot->idname = "NODE_OT_backimage_move";
|
||||
|
||||
/* api callbacks */
|
||||
|
|
|
@ -152,7 +152,7 @@ void SCRIPT_OT_reload(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Reload Scripts";
|
||||
ot->description = "Reload Scripts";
|
||||
ot->description = "Reload scripts";
|
||||
ot->idname = "SCRIPT_OT_reload";
|
||||
|
||||
/* api callbacks */
|
||||
|
|
|
@ -2808,7 +2808,7 @@ void UV_OT_stitch(wmOperatorType *ot)
|
|||
RNA_def_boolean(ot->srna,
|
||||
"midpoint_snap",
|
||||
0,
|
||||
"Snap At Midpoint",
|
||||
"Snap at Midpoint",
|
||||
"UVs are stitched at midpoint instead of at static island");
|
||||
RNA_def_boolean(ot->srna, "clear_seams", 1, "Clear Seams", "Clear seams of stitched edges");
|
||||
RNA_def_enum(ot->srna,
|
||||
|
|
|
@ -662,7 +662,7 @@ void RNA_def_camera(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "show_safe_center", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOW_SAFE_CENTER);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Show Center-cut safe areas",
|
||||
"Show Center-Cut Safe Areas",
|
||||
"Show safe areas to fit content in a different aspect ratio");
|
||||
RNA_def_property_update(prop, NC_CAMERA | ND_DRAW_RENDER_VIEWPORT, NULL);
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ static void rna_def_light(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, rna_enum_light_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of Light");
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of light");
|
||||
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_LIGHT);
|
||||
RNA_def_property_update(prop, 0, "rna_Light_draw_update");
|
||||
|
||||
|
|
|
@ -683,7 +683,7 @@ void RNA_def_material(BlenderRNA *brna)
|
|||
{MA_SPHERE, "SPHERE", ICON_MATSPHERE, "Sphere", "Sphere"},
|
||||
{MA_CUBE, "CUBE", ICON_MATCUBE, "Cube", "Cube"},
|
||||
{MA_HAIR, "HAIR", ICON_HAIR, "Hair", "Hair strands"},
|
||||
{MA_SHADERBALL, "SHADERBALL", ICON_MATSHADERBALL, "Shader Ball", "Shader Ball"},
|
||||
{MA_SHADERBALL, "SHADERBALL", ICON_MATSHADERBALL, "Shader Ball", "Shader ball"},
|
||||
{MA_CLOTH, "CLOTH", ICON_MATCLOTH, "Cloth", "Cloth"},
|
||||
{MA_FLUID, "FLUID", ICON_MATFLUID, "Fluid", "Fluid"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
|
|
|
@ -3076,7 +3076,7 @@ static void rna_def_string_property(StructRNA *srna)
|
|||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_string_funcs(
|
||||
prop, "rna_StringProperty_default_get", "rna_StringProperty_default_length", NULL);
|
||||
RNA_def_property_ui_text(prop, "Default", "string default value");
|
||||
RNA_def_property_ui_text(prop, "Default", "String default value");
|
||||
|
||||
prop = RNA_def_property(srna, "length_max", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
|
|
|
@ -586,7 +586,7 @@ static void rna_def_screen(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "show_statusbar", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SCREEN_COLLAPSE_STATUSBAR);
|
||||
RNA_def_property_ui_text(prop, "Show Status Bar", "Show Status Bar");
|
||||
RNA_def_property_ui_text(prop, "Show Status Bar", "Show status bar");
|
||||
RNA_def_property_update(prop, 0, "rna_Screen_bar_update");
|
||||
|
||||
func = RNA_def_function(srna, "statusbar_info", "rna_Screen_statusbar_info_get");
|
||||
|
|
Loading…
Reference in New Issue