Merge branch 'master' into sculpt-dev

This commit is contained in:
Pablo Dobarro 2020-12-24 19:30:30 +01:00
commit 1d53fbfd06
58 changed files with 195 additions and 195 deletions

View File

@ -905,8 +905,8 @@ GHOST_TSuccess GHOST_WindowCocoa::setProgressBar(float progress)
static void postNotification()
{
NSUserNotification *notification = [[NSUserNotification alloc] init];
notification.title = @"Blender progress notification";
notification.informativeText = @"Calculation is finished";
notification.title = @"Blender Progress Notification";
notification.informativeText = @"Calculation is finished.";
notification.soundName = NSUserNotificationDefaultSoundName;
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];
[notification release];

View File

@ -635,7 +635,7 @@ class LightMapPack(Operator):
)
PREF_IMG_PX_SIZE: IntProperty(
name="Image Size",
description="Width and Height for the new image",
description="Width and height for the new image",
min=64, max=5000,
default=512,
)

View File

@ -893,7 +893,7 @@ class WM_OT_url_open_preset(Operator):
(('BUG', "Bug",
"Report a bug with pre-filled version information"),
_url_from_bug),
(('BUG_ADDON', "Add-On Bug",
(('BUG_ADDON', "Add-on Bug",
"Report a bug in an add-on"),
_url_from_bug_addon),
(('RELEASE_NOTES', "Release Notes",
@ -1175,7 +1175,7 @@ rna_use_soft_limits = BoolProperty(
rna_is_overridable_library = BoolProperty(
name="Is Library Overridable",
description="Allow the property to be overridden when the Data-Block is linked",
description="Allow the property to be overridden when the data-block is linked",
default=False,
)
@ -1604,7 +1604,7 @@ class WM_OT_sysinfo(Operator):
class WM_OT_operator_cheat_sheet(Operator):
"""List all the Operators in a text-block, useful for scripting"""
"""List all the operators in a text-block, useful for scripting"""
bl_idname = "wm.operator_cheat_sheet"
bl_label = "Operator Cheat Sheet"
@ -1726,7 +1726,7 @@ class WM_OT_tool_set_by_index(Operator):
bl_idname = "wm.tool_set_by_index"
bl_label = "Set Tool by Index"
index: IntProperty(
name="Index in toolbar",
name="Index in Toolbar",
default=0,
)
cycle: BoolProperty(
@ -2163,7 +2163,7 @@ class WM_OT_batch_rename(Operator):
object_data_type_attrs_map = {
'MESH': ("meshes", "Mesh(es)"),
'CURVE': ("curves", "Curve(s)"),
'META': ("metaballs", "MetaBall(s)"),
'META': ("metaballs", "Metaball(s)"),
'ARMATURE': ("armatures", "Armature(s)"),
'LATTICE': ("lattices", "Lattice(s)"),
'GPENCIL': ("grease_pencils", "Grease Pencil(s)"),

View File

@ -867,7 +867,7 @@ class GreasePencilLayerDisplayPanel:
class GreasePencilFlipTintColors(Operator):
bl_label = "Flip Colors"
bl_idname = "gpencil.tint_flip"
bl_description = "Switch Tint colors"
bl_description = "Switch tint colors"
def execute(self, context):
try:

View File

@ -1455,7 +1455,7 @@ class _defs_sculpt:
return dict(
idname="builtin.mask_by_color",
label="Mask By Color",
label="Mask by Color",
icon="ops.sculpt.mask_by_color",
widget=None,
keymap=(),

View File

@ -1906,7 +1906,7 @@ void GPENCIL_OT_brush_reset(wmOperatorType *ot)
/* identifiers */
ot->name = "Reset Brush";
ot->idname = "GPENCIL_OT_brush_reset";
ot->description = "Reset Brush to default parameters";
ot->description = "Reset brush to default parameters";
/* api callbacks */
ot->exec = gpencil_brush_reset_exec;

View File

@ -341,7 +341,7 @@ void GPENCIL_OT_selectmode_toggle(wmOperatorType *ot)
ot->flag = OPTYPE_UNDO | OPTYPE_REGISTER;
/* properties */
prop = RNA_def_int(ot->srna, "mode", 0, 0, 2, "Select mode", "Select mode", 0, 2);
prop = RNA_def_int(ot->srna, "mode", 0, 0, 2, "Select Mode", "Select mode", 0, 2);
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
}
@ -2759,7 +2759,7 @@ void GPENCIL_OT_dissolve(wmOperatorType *ot)
prop_gpencil_dissolve_types,
0,
"Type",
"Method used for dissolving Stroke points");
"Method used for dissolving stroke points");
}
/** \} */
@ -3442,7 +3442,7 @@ void GPENCIL_OT_stroke_caps_set(wmOperatorType *ot)
/* identifiers */
ot->name = "Set Caps Mode";
ot->idname = "GPENCIL_OT_stroke_caps_set";
ot->description = "Change Stroke caps mode (rounded or flat)";
ot->description = "Change stroke caps mode (rounded or flat)";
/* api callbacks */
ot->exec = gpencil_stroke_caps_set_exec;

View File

@ -1707,6 +1707,6 @@ void GPENCIL_OT_fill(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_UNDO | OPTYPE_BLOCKING;
prop = RNA_def_boolean(ot->srna, "on_back", false, "Draw On Back", "Send new stroke to Back");
prop = RNA_def_boolean(ot->srna, "on_back", false, "Draw on Back", "Send new stroke to back");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}

View File

@ -434,7 +434,7 @@ void GPENCIL_OT_bake_mesh_animation(wmOperatorType *ot)
/* identifiers */
ot->name = "Bake Mesh Animation to Grease Pencil";
ot->idname = "GPENCIL_OT_bake_mesh_animation";
ot->description = "Bake Mesh Animation to Grease Pencil strokes";
ot->description = "Bake mesh animation to grease pencil strokes";
/* callbacks */
ot->invoke = gpencil_bake_mesh_animation_invoke;

View File

@ -452,7 +452,7 @@ void GPENCIL_OT_transform_fill(wmOperatorType *ot)
/* identifiers */
ot->name = "Transform Stroke Fill";
ot->idname = "GPENCIL_OT_transform_fill";
ot->description = "Transform Grease Pencil Stroke Fill";
ot->description = "Transform grease pencil stroke fill";
/* api callbacks */
ot->invoke = gpencil_transform_fill_invoke;

View File

@ -349,7 +349,7 @@ static bool eyedropper_colorband_poll(bContext *C)
void UI_OT_eyedropper_colorramp(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Eyedropper colorband";
ot->name = "Eyedropper Colorband";
ot->idname = "UI_OT_eyedropper_colorramp";
ot->description = "Sample a color band";
@ -369,7 +369,7 @@ void UI_OT_eyedropper_colorramp(wmOperatorType *ot)
void UI_OT_eyedropper_colorramp_point(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Eyedropper colorband (points)";
ot->name = "Eyedropper Colorband (Points)";
ot->idname = "UI_OT_eyedropper_colorramp_point";
ot->description = "Point-sample a color band";

View File

@ -481,11 +481,11 @@ void WM_OT_collada_export(wmOperatorType *ot)
{0, NULL, 0, NULL, NULL}};
static const EnumPropertyItem prop_bc_export_ui_section[] = {
{BC_UI_SECTION_MAIN, "main", 0, "Main", "Data Export Section"},
{BC_UI_SECTION_GEOMETRY, "geometry", 0, "Geom", "Geometry Export Section"},
{BC_UI_SECTION_ARMATURE, "armature", 0, "Arm", "Armature Export Section"},
{BC_UI_SECTION_ANIMATION, "animation", 0, "Anim", "Animation Export Section"},
{BC_UI_SECTION_COLLADA, "collada", 0, "Extra", "Collada Export Section"},
{BC_UI_SECTION_MAIN, "main", 0, "Main", "Data export section"},
{BC_UI_SECTION_GEOMETRY, "geometry", 0, "Geom", "Geometry export section"},
{BC_UI_SECTION_ARMATURE, "armature", 0, "Arm", "Armature export section"},
{BC_UI_SECTION_ANIMATION, "animation", 0, "Anim", "Animation export section"},
{BC_UI_SECTION_COLLADA, "collada", 0, "Extra", "Collada export section"},
{0, NULL, 0, NULL, NULL}};
ot->name = "Export COLLADA";

View File

@ -612,7 +612,7 @@ void MESH_OT_inset(wmOperatorType *ot)
RNA_def_boolean(ot->srna, "use_outset", false, "Outset", "Outset rather than inset");
RNA_def_boolean(
ot->srna, "use_select_inset", false, "Select Outer", "Select the new inset faces");
RNA_def_boolean(ot->srna, "use_individual", false, "Individual", "Individual Face Inset");
RNA_def_boolean(ot->srna, "use_individual", false, "Individual", "Individual face inset");
RNA_def_boolean(
ot->srna, "use_interpolate", true, "Interpolate", "Blend face data across the inset");

View File

@ -302,8 +302,8 @@ void MESH_OT_intersect(struct wmOperatorType *ot)
};
static const EnumPropertyItem isect_intersect_solver_items[] = {
{ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster Solver, some limitations"},
{ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact Solver, slower, handles more cases"},
{ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster solver, some limitations"},
{ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact solver, slower, handles more cases"},
{0, NULL, 0, NULL, NULL},
};
@ -322,7 +322,7 @@ void MESH_OT_intersect(struct wmOperatorType *ot)
RNA_def_enum(
ot->srna, "separate_mode", isect_separate_items, ISECT_SEPARATE_CUT, "Separate Mode", "");
RNA_def_float_distance(
ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge threshold", "", 0.0, 0.001);
ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge Threshold", "", 0.0, 0.001);
RNA_def_enum(ot->srna,
"solver",
isect_intersect_solver_items,
@ -446,8 +446,8 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot)
};
static const EnumPropertyItem isect_boolean_solver_items[] = {
{ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster Solver, some limitations"},
{ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact Solver, slower, handles more cases"},
{ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster solver, some limitations"},
{ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact solver, slower, handles more cases"},
{0, NULL, 0, NULL, NULL},
};
@ -466,7 +466,7 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot)
"operation",
isect_boolean_operation_items,
BMESH_ISECT_BOOLEAN_DIFFERENCE,
"Boolean operation",
"Boolean Operation",
"Which boolean operation to apply");
RNA_def_boolean(ot->srna,
"use_swap",
@ -475,7 +475,7 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot)
"Use with difference intersection to swap which side is kept");
RNA_def_boolean(ot->srna, "use_self", false, "Self", "Do self-union or self-intersection");
RNA_def_float_distance(
ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge threshold", "", 0.0, 0.001);
ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge Threshold", "", 0.0, 0.001);
RNA_def_enum(ot->srna,
"solver",
isect_boolean_solver_items,

View File

@ -5263,7 +5263,7 @@ void MESH_OT_poke(wmOperatorType *ot)
poke_center_modes,
BMOP_POKE_MEDIAN_WEIGHTED,
"Poke Center",
"Poke Face Center Calculation");
"Poke face center calculation");
}
/** \} */
@ -9204,7 +9204,7 @@ void MESH_OT_normals_tools(struct wmOperatorType *ot)
normal_vector_tool_items,
EDBM_CLNOR_TOOLS_COPY,
"Mode",
"Mode of tools taking input from Interface");
"Mode of tools taking input from interface");
RNA_def_property_flag(ot->prop, PROP_HIDDEN);
RNA_def_boolean(ot->srna,

View File

@ -620,7 +620,7 @@ void MESH_OT_uv_texture_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add UV Map";
ot->description = "Add UV Map";
ot->description = "Add UV map";
ot->idname = "MESH_OT_uv_texture_add";
/* api callbacks */
@ -653,7 +653,7 @@ void MESH_OT_uv_texture_remove(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Remove UV Map";
ot->description = "Remove UV Map";
ot->description = "Remove UV map";
ot->idname = "MESH_OT_uv_texture_remove";
/* api callbacks */

View File

@ -1995,7 +1995,7 @@ void OBJECT_OT_bake(wmOperatorType *ot)
"use_clear",
false,
"Clear",
"Clear Images before baking (only for internal saving)");
"Clear images before baking (only for internal saving)");
RNA_def_boolean(ot->srna, "use_cage", false, "Cage", "Cast rays to active object from a cage");
RNA_def_boolean(
ot->srna,

View File

@ -1680,7 +1680,7 @@ static int constraint_move_to_index_invoke(bContext *C, wmOperator *op, const wm
void CONSTRAINT_OT_move_to_index(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Move Constraint To Index";
ot->name = "Move Constraint to Index";
ot->idname = "CONSTRAINT_OT_move_to_index";
ot->description =
"Change the constraint's position in the list so it evaluates after the set number of "
@ -1781,7 +1781,7 @@ void OBJECT_OT_constraints_clear(wmOperatorType *ot)
/* identifiers */
ot->name = "Clear Object Constraints";
ot->idname = "OBJECT_OT_constraints_clear";
ot->description = "Clear all the constraints for the active Object only";
ot->description = "Clear all the constraints for the active object only";
/* callbacks */
ot->exec = object_constraints_clear_exec;
@ -2267,7 +2267,7 @@ void OBJECT_OT_constraint_add_with_targets(wmOperatorType *ot)
ot->name = "Add Constraint (with Targets)";
ot->description =
"Add a constraint to the active object, with target (where applicable) set to the "
"selected Objects/Bones";
"selected objects/bones";
ot->idname = "OBJECT_OT_constraint_add_with_targets";
/* api callbacks */

View File

@ -491,5 +491,5 @@ void OBJECT_OT_face_map_move(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
RNA_def_enum(
ot->srna, "direction", fmap_slot_move, 0, "Direction", "Direction to move, UP or DOWN");
ot->srna, "direction", fmap_slot_move, 0, "Direction", "Direction to move, up or down");
}

View File

@ -770,12 +770,12 @@ static const EnumPropertyItem prop_select_grouped_types[] = {
{OBJECT_GRPSEL_CHILDREN_RECURSIVE, "CHILDREN_RECURSIVE", 0, "Children", ""},
{OBJECT_GRPSEL_CHILDREN, "CHILDREN", 0, "Immediate Children", ""},
{OBJECT_GRPSEL_PARENT, "PARENT", 0, "Parent", ""},
{OBJECT_GRPSEL_SIBLINGS, "SIBLINGS", 0, "Siblings", "Shared Parent"},
{OBJECT_GRPSEL_SIBLINGS, "SIBLINGS", 0, "Siblings", "Shared parent"},
{OBJECT_GRPSEL_TYPE, "TYPE", 0, "Type", "Shared object type"},
{OBJECT_GRPSEL_COLLECTION, "COLLECTION", 0, "Collection", "Shared collection"},
{OBJECT_GRPSEL_HOOK, "HOOK", 0, "Hook", ""},
{OBJECT_GRPSEL_PASS, "PASS", 0, "Pass", "Render pass Index"},
{OBJECT_GRPSEL_COLOR, "COLOR", 0, "Color", "Object Color"},
{OBJECT_GRPSEL_PASS, "PASS", 0, "Pass", "Render pass index"},
{OBJECT_GRPSEL_COLOR, "COLOR", 0, "Color", "Object color"},
{OBJECT_GRPSEL_KEYINGSET,
"KEYINGSET",
0,

View File

@ -788,7 +788,7 @@ static void vgroup_operator_subset_select_props(wmOperatorType *ot, bool use_act
DummyRNA_NULL_items,
use_active ? WT_VGROUP_ACTIVE : WT_VGROUP_ALL,
"Subset",
"Define which subset of Groups shall be used");
"Define which subset of groups shall be used");
if (use_active) {
RNA_def_enum_funcs(prop, rna_vertex_group_with_single_itemf);
@ -4229,7 +4229,7 @@ void OBJECT_OT_vertex_group_sort(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
RNA_def_enum(ot->srna, "sort_type", vgroup_sort_type, SORT_TYPE_NAME, "Sort type", "Sort type");
RNA_def_enum(ot->srna, "sort_type", vgroup_sort_type, SORT_TYPE_NAME, "Sort Type", "Sort type");
}
/** \} */

View File

@ -9686,7 +9686,7 @@ static int sculpt_mask_by_color_invoke(bContext *C, wmOperator *op, const wmEven
static void SCULPT_OT_mask_by_color(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Mask By Color";
ot->name = "Mask by Color";
ot->idname = "SCULPT_OT_mask_by_color";
ot->description = "Creates a mask based on the sculpt vertex colors";

View File

@ -1701,15 +1701,15 @@ void SCULPT_OT_cloth_filter(struct wmOperatorType *ot)
"type",
prop_cloth_filter_type,
CLOTH_FILTER_GRAVITY,
"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,
"force_axis",
prop_cloth_filter_force_axis_items,
CLOTH_FILTER_FORCE_X | CLOTH_FILTER_FORCE_Y | CLOTH_FILTER_FORCE_Z,
"Force axis",
"Force Axis",
"Apply the force in the selected axis");
RNA_def_enum(ot->srna,
"orientation",

View File

@ -499,8 +499,8 @@ void SCULPT_OT_mask_expand(wmOperatorType *ot)
true,
"Update Pivot Position",
"Set the pivot position to the mask border after creating the mask");
ot->prop = RNA_def_int(ot->srna, "smooth_iterations", 2, 0, 10, "Smooth iterations", "", 0, 10);
ot->prop = RNA_def_int(ot->srna, "mask_speed", 5, 1, 10, "Mask speed", "", 1, 10);
ot->prop = RNA_def_int(ot->srna, "smooth_iterations", 2, 0, 10, "Smooth Iterations", "", 0, 10);
ot->prop = RNA_def_int(ot->srna, "mask_speed", 5, 1, 10, "Mask Speed", "", 1, 10);
ot->prop = RNA_def_boolean(ot->srna,
"use_normals",

View File

@ -419,12 +419,12 @@ static EnumPropertyItem prop_sculpt_pivot_position_types[] = {
{SCULPT_PIVOT_POSITION_MASK_BORDER,
"BORDER",
0,
"Mask border",
"Mask Border",
"Sets the pivot position to the center of the border of the mask"},
{SCULPT_PIVOT_POSITION_ACTIVE_VERTEX,
"ACTIVE",
0,
"Active vertex",
"Active Vertex",
"Sets the pivot position to the active vertex position"},
{SCULPT_PIVOT_POSITION_CURSOR_SURFACE,
"SURFACE",

View File

@ -360,7 +360,7 @@ void BUTTONS_OT_file_browse(wmOperatorType *ot)
/* Identifiers. */
ot->name = "Accept";
ot->description =
"Open a file browser, Hold Shift to open the file, Alt to browse containing directory";
"Open a file browser, hold Shift to open the file, Alt to browse containing directory";
ot->idname = "BUTTONS_OT_file_browse";
/* Callbacks. */
@ -387,7 +387,7 @@ void BUTTONS_OT_directory_browse(wmOperatorType *ot)
/* identifiers */
ot->name = "Accept";
ot->description =
"Open a directory browser, Hold Shift to open the file, Alt to browse containing directory";
"Open a directory browser, hold Shift to open the file, Alt to browse containing directory";
ot->idname = "BUTTONS_OT_directory_browse";
/* api callbacks */

View File

@ -1253,7 +1253,7 @@ void FILE_OT_reset_recent(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Reset Recent";
ot->description = "Reset Recent files";
ot->description = "Reset recent files";
ot->idname = "FILE_OT_reset_recent";
/* api callbacks */

View File

@ -99,12 +99,12 @@ static const EnumPropertyItem prop_graphkeys_insertkey_types[] = {
{GRAPHKEYS_INSERTKEY_ACTIVE | GRAPHKEYS_INSERTKEY_CURSOR,
"CURSOR_ACTIVE",
0,
"Active Channels At Cursor",
"Active Channels at Cursor",
"Insert a keyframe for the active F-Curve at the cursor point"},
{GRAPHKEYS_INSERTKEY_SEL | GRAPHKEYS_INSERTKEY_CURSOR,
"CURSOR_SEL",
0,
"Selected Channels At Cursor",
"Selected Channels at Cursor",
"Insert a keyframe for selected F-Curves at the cursor point"},
{0, NULL, 0, NULL, NULL},
};
@ -1170,7 +1170,7 @@ void GRAPH_OT_sound_bake(wmOperatorType *ot)
0.0f,
0.0,
100000.0,
"Lowest frequency",
"Lowest Frequency",
"Cutoff frequency of a high-pass filter that is applied to the audio data",
0.1,
1000.00);
@ -1179,7 +1179,7 @@ void GRAPH_OT_sound_bake(wmOperatorType *ot)
100000.0,
0.0,
100000.0,
"Highest frequency",
"Highest Frequency",
"Cutoff frequency of a low-pass filter that is applied to the audio data",
0.1,
1000.00);
@ -1188,7 +1188,7 @@ void GRAPH_OT_sound_bake(wmOperatorType *ot)
0.005,
0.0,
2.0,
"Attack time",
"Attack Time",
"Value for the hull curve calculation that tells how fast the hull curve can rise "
"(the lower the value the steeper it can rise)",
0.01,
@ -1198,7 +1198,7 @@ void GRAPH_OT_sound_bake(wmOperatorType *ot)
0.2,
0.0,
5.0,
"Release time",
"Release Time",
"Value for the hull curve calculation that tells how fast the hull curve can fall "
"(the lower the value the steeper it can fall)",
0.01,

View File

@ -2771,13 +2771,13 @@ void IMAGE_OT_invert(wmOperatorType *ot)
ot->poll = image_from_context_has_data_poll_no_image_user;
/* properties */
prop = RNA_def_boolean(ot->srna, "invert_r", 0, "Red", "Invert Red Channel");
prop = RNA_def_boolean(ot->srna, "invert_r", 0, "Red", "Invert red channel");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
prop = RNA_def_boolean(ot->srna, "invert_g", 0, "Green", "Invert Green Channel");
prop = RNA_def_boolean(ot->srna, "invert_g", 0, "Green", "Invert green channel");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
prop = RNA_def_boolean(ot->srna, "invert_b", 0, "Blue", "Invert Blue Channel");
prop = RNA_def_boolean(ot->srna, "invert_b", 0, "Blue", "Invert blue channel");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
prop = RNA_def_boolean(ot->srna, "invert_a", 0, "Alpha", "Invert Alpha Channel");
prop = RNA_def_boolean(ot->srna, "invert_a", 0, "Alpha", "Invert alpha channel");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
/* flags */

View File

@ -210,7 +210,7 @@ static const EnumPropertyItem unpack_all_method_items[] = {
0,
"Write files to original location (overwrite existing files)",
""},
{PF_KEEP, "KEEP", 0, "Disable Auto-pack, keep all packed files", ""},
{PF_KEEP, "KEEP", 0, "Disable auto-pack, keep all packed files", ""},
{PF_REMOVE, "REMOVE", 0, "Remove Pack", ""},
/* {PF_ASK, "ASK", 0, "Ask for each file", ""}, */
{0, NULL, 0, NULL, NULL},
@ -364,7 +364,7 @@ void FILE_OT_unpack_item(wmOperatorType *ot)
RNA_def_enum(
ot->srna, "method", unpack_item_method_items, PF_USE_LOCAL, "Method", "How to unpack");
RNA_def_string(
ot->srna, "id_name", NULL, BKE_ST_MAXNAME, "ID name", "Name of ID block to unpack");
ot->srna, "id_name", NULL, BKE_ST_MAXNAME, "ID Name", "Name of ID block to unpack");
RNA_def_int(ot->srna,
"id_type",
ID_IM,

View File

@ -434,8 +434,8 @@ void NLA_OT_select_box(wmOperatorType *ot)
/* defines for left-right select tool */
static const EnumPropertyItem prop_nlaedit_leftright_select_types[] = {
{NLAEDIT_LRSEL_TEST, "CHECK", 0, "Check if Select Left or Right", ""},
{NLAEDIT_LRSEL_LEFT, "LEFT", 0, "Before current frame", ""},
{NLAEDIT_LRSEL_RIGHT, "RIGHT", 0, "After current frame", ""},
{NLAEDIT_LRSEL_LEFT, "LEFT", 0, "Before Current Frame", ""},
{NLAEDIT_LRSEL_RIGHT, "RIGHT", 0, "After Current Frame", ""},
{0, NULL, 0, NULL, NULL},
};

View File

@ -1382,7 +1382,7 @@ void OUTLINER_OT_show_active(wmOperatorType *ot)
ot->name = "Show Active";
ot->idname = "OUTLINER_OT_show_active";
ot->description =
"Open up the tree and adjust the view so that the active Object is shown centered";
"Open up the tree and adjust the view so that the active object is shown centered";
/* callbacks */
ot->exec = outliner_show_active_exec;

View File

@ -2140,7 +2140,7 @@ static int outliner_id_operation_exec(bContext *C, wmOperator *op)
void OUTLINER_OT_id_operation(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Outliner ID data Operation";
ot->name = "Outliner ID Data Operation";
ot->idname = "OUTLINER_OT_id_operation";
/* callbacks */
@ -2150,7 +2150,7 @@ void OUTLINER_OT_id_operation(wmOperatorType *ot)
ot->flag = 0;
ot->prop = RNA_def_enum(ot->srna, "type", prop_id_op_types, 0, "ID data Operation", "");
ot->prop = RNA_def_enum(ot->srna, "type", prop_id_op_types, 0, "ID Data Operation", "");
RNA_def_enum_funcs(ot->prop, outliner_id_operation_itemf);
}
@ -2569,8 +2569,8 @@ void OUTLINER_OT_constraint_operation(wmOperatorType *ot)
* \{ */
static const EnumPropertyItem prop_modifier_op_types[] = {
{OL_MODIFIER_OP_TOGVIS, "TOGVIS", ICON_RESTRICT_VIEW_OFF, "Toggle viewport use", ""},
{OL_MODIFIER_OP_TOGREN, "TOGREN", ICON_RESTRICT_RENDER_OFF, "Toggle render use", ""},
{OL_MODIFIER_OP_TOGVIS, "TOGVIS", ICON_RESTRICT_VIEW_OFF, "Toggle Viewport Use", ""},
{OL_MODIFIER_OP_TOGREN, "TOGREN", ICON_RESTRICT_RENDER_OFF, "Toggle Render Use", ""},
{OL_MODIFIER_OP_DELETE, "DELETE", ICON_X, "Delete", ""},
{0, NULL, 0, NULL, NULL},
};

View File

@ -2220,7 +2220,7 @@ void SEQUENCER_OT_strip_jump(wmOperatorType *ot)
/* Properties. */
RNA_def_boolean(ot->srna, "next", true, "Next Strip", "");
RNA_def_boolean(ot->srna, "center", true, "Use strip center", "");
RNA_def_boolean(ot->srna, "center", true, "Use Strip Center", "");
}
/** \} */

View File

@ -1310,7 +1310,7 @@ static const EnumPropertyItem sequencer_prop_select_grouped_types[] = {
"TYPE_BASIC",
0,
"Global Type",
"All strips of same basic type (Graphical or Sound)"},
"All strips of same basic type (graphical or sound)"},
{SEQ_SELECT_GROUP_TYPE_EFFECT,
"TYPE_EFFECT",
0,

View File

@ -3838,12 +3838,12 @@ void VIEW3D_OT_zoom_camera_1_to_1(wmOperatorType *ot)
* \{ */
static const EnumPropertyItem prop_view_items[] = {
{RV3D_VIEW_LEFT, "LEFT", ICON_TRIA_LEFT, "Left", "View from the Left"},
{RV3D_VIEW_RIGHT, "RIGHT", ICON_TRIA_RIGHT, "Right", "View from the Right"},
{RV3D_VIEW_BOTTOM, "BOTTOM", ICON_TRIA_DOWN, "Bottom", "View from the Bottom"},
{RV3D_VIEW_TOP, "TOP", ICON_TRIA_UP, "Top", "View from the Top"},
{RV3D_VIEW_FRONT, "FRONT", 0, "Front", "View from the Front"},
{RV3D_VIEW_BACK, "BACK", 0, "Back", "View from the Back"},
{RV3D_VIEW_LEFT, "LEFT", ICON_TRIA_LEFT, "Left", "View from the left"},
{RV3D_VIEW_RIGHT, "RIGHT", ICON_TRIA_RIGHT, "Right", "View from the right"},
{RV3D_VIEW_BOTTOM, "BOTTOM", ICON_TRIA_DOWN, "Bottom", "View from the bottom"},
{RV3D_VIEW_TOP, "TOP", ICON_TRIA_UP, "Top", "View from the top"},
{RV3D_VIEW_FRONT, "FRONT", 0, "Front", "View from the front"},
{RV3D_VIEW_BACK, "BACK", 0, "Back", "View from the back"},
{0, NULL, 0, NULL, NULL},
};
@ -4225,10 +4225,10 @@ enum {
};
static const EnumPropertyItem prop_view_orbit_items[] = {
{V3D_VIEW_STEPLEFT, "ORBITLEFT", 0, "Orbit Left", "Orbit the view around to the Left"},
{V3D_VIEW_STEPRIGHT, "ORBITRIGHT", 0, "Orbit Right", "Orbit the view around to the Right"},
{V3D_VIEW_STEPUP, "ORBITUP", 0, "Orbit Up", "Orbit the view Up"},
{V3D_VIEW_STEPDOWN, "ORBITDOWN", 0, "Orbit Down", "Orbit the view Down"},
{V3D_VIEW_STEPLEFT, "ORBITLEFT", 0, "Orbit Left", "Orbit the view around to the left"},
{V3D_VIEW_STEPRIGHT, "ORBITRIGHT", 0, "Orbit Right", "Orbit the view around to the right"},
{V3D_VIEW_STEPUP, "ORBITUP", 0, "Orbit Up", "Orbit the view up"},
{V3D_VIEW_STEPDOWN, "ORBITDOWN", 0, "Orbit Down", "Orbit the view down"},
{0, NULL, 0, NULL, NULL},
};
@ -4463,8 +4463,8 @@ static int viewroll_modal(bContext *C, wmOperator *op, const wmEvent *event)
static const EnumPropertyItem prop_view_roll_items[] = {
{0, "ANGLE", 0, "Roll Angle", "Roll the view using an angle value"},
{V3D_VIEW_STEPLEFT, "LEFT", 0, "Roll Left", "Roll the view around to the Left"},
{V3D_VIEW_STEPRIGHT, "RIGHT", 0, "Roll Right", "Roll the view around to the Right"},
{V3D_VIEW_STEPLEFT, "LEFT", 0, "Roll Left", "Roll the view around to the left"},
{V3D_VIEW_STEPRIGHT, "RIGHT", 0, "Roll Right", "Roll the view around to the right"},
{0, NULL, 0, NULL, NULL},
};
@ -4611,10 +4611,10 @@ enum {
};
static const EnumPropertyItem prop_view_pan_items[] = {
{V3D_VIEW_PANLEFT, "PANLEFT", 0, "Pan Left", "Pan the view to the Left"},
{V3D_VIEW_PANRIGHT, "PANRIGHT", 0, "Pan Right", "Pan the view to the Right"},
{V3D_VIEW_PANUP, "PANUP", 0, "Pan Up", "Pan the view Up"},
{V3D_VIEW_PANDOWN, "PANDOWN", 0, "Pan Down", "Pan the view Down"},
{V3D_VIEW_PANLEFT, "PANLEFT", 0, "Pan Left", "Pan the view to the left"},
{V3D_VIEW_PANRIGHT, "PANRIGHT", 0, "Pan Right", "Pan the view to the right"},
{V3D_VIEW_PANUP, "PANUP", 0, "Pan Up", "Pan the view up"},
{V3D_VIEW_PANDOWN, "PANDOWN", 0, "Pan Down", "Pan the view down"},
{0, NULL, 0, NULL, NULL},
};

View File

@ -680,7 +680,7 @@ void Transform_Properties(struct wmOperatorType *ot, int flags)
if ((flags & P_OPTIONS) && !(flags & P_NO_TEXSPACE)) {
prop = RNA_def_boolean(
ot->srna, "texture_space", 0, "Edit Texture Space", "Edit Object data texture space");
ot->srna, "texture_space", 0, "Edit Texture Space", "Edit object data texture space");
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
prop = RNA_def_boolean(
ot->srna, "remove_on_cancel", 0, "Remove on Cancel", "Remove elements on cancel");

View File

@ -2048,7 +2048,7 @@ static void rna_def_brush(BlenderRNA *brna)
{BRUSH_CURVE_SHARP, "SHARP", ICON_SHARPCURVE, "Sharp", ""},
{BRUSH_CURVE_LIN, "LIN", ICON_LINCURVE, "Linear", ""},
{BRUSH_CURVE_POW4, "POW4", ICON_SHARPCURVE, "Sharper", ""},
{BRUSH_CURVE_INVSQUARE, "INVSQUARE", ICON_INVERSESQUARECURVE, "Inverse square", ""},
{BRUSH_CURVE_INVSQUARE, "INVSQUARE", ICON_INVERSESQUARECURVE, "Inverse Square", ""},
{BRUSH_CURVE_CONSTANT, "CONSTANT", ICON_NOCURVE, "Constant", ""},
{0, NULL, 0, NULL, NULL},
};
@ -2069,8 +2069,8 @@ static void rna_def_brush(BlenderRNA *brna)
static const EnumPropertyItem brush_elastic_deform_type_items[] = {
{BRUSH_ELASTIC_DEFORM_GRAB, "GRAB", 0, "Grab", ""},
{BRUSH_ELASTIC_DEFORM_GRAB_BISCALE, "GRAB_BISCALE", 0, "Bi-scale Grab", ""},
{BRUSH_ELASTIC_DEFORM_GRAB_TRISCALE, "GRAB_TRISCALE", 0, "Tri-scale Grab", ""},
{BRUSH_ELASTIC_DEFORM_GRAB_BISCALE, "GRAB_BISCALE", 0, "Bi-Scale Grab", ""},
{BRUSH_ELASTIC_DEFORM_GRAB_TRISCALE, "GRAB_TRISCALE", 0, "Tri-Scale Grab", ""},
{BRUSH_ELASTIC_DEFORM_SCALE, "SCALE", 0, "Scale", ""},
{BRUSH_ELASTIC_DEFORM_TWIST, "TWIST", 0, "Twist", ""},
{0, NULL, 0, NULL, NULL},
@ -2976,21 +2976,21 @@ static void rna_def_brush(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_automasking_topology", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_TOPOLOGY);
RNA_def_property_ui_text(prop,
"Topology Auto-masking",
"Topology Auto-Masking",
"Affect only vertices connected to the active vertex under the brush");
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop = RNA_def_property(srna, "use_automasking_face_sets", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_FACE_SETS);
RNA_def_property_ui_text(prop,
"Face Sets Auto-masking",
"Face Sets Auto-Masking",
"Affect only vertices that share Face Sets with the active vertex");
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop = RNA_def_property(srna, "use_automasking_boundary_edges", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_BOUNDARY_EDGES);
RNA_def_property_ui_text(
prop, "Mesh Boundary Auto-masking", "Do not affect non manifold boundary edges");
prop, "Mesh Boundary Auto-Masking", "Do not affect non manifold boundary edges");
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop = RNA_def_property(srna, "use_automasking_boundary_face_sets", PROP_BOOLEAN, PROP_NONE);
@ -3224,7 +3224,7 @@ static void rna_def_brush(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_edge_to_edge", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_EDGE_TO_EDGE);
RNA_def_property_ui_text(prop, "Edge-to-edge", "Drag anchor brush from edge-to-edge");
RNA_def_property_ui_text(prop, "Edge-to-Edge", "Drag anchor brush from edge-to-edge");
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop = RNA_def_property(srna, "use_restore_mesh", PROP_BOOLEAN, PROP_NONE);
@ -3246,7 +3246,7 @@ static void rna_def_brush(BlenderRNA *brna)
prop = RNA_def_property(srna, "paint_curve", PROP_POINTER, PROP_NONE);
RNA_def_property_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "Paint Curve", "Active Paint Curve");
RNA_def_property_ui_text(prop, "Paint Curve", "Active paint curve");
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop = RNA_def_property(srna, "gradient", PROP_POINTER, PROP_NEVER_NULL);

View File

@ -1142,7 +1142,7 @@ static void rna_def_font(BlenderRNA *UNUSED(brna), StructRNA *srna)
RNA_def_property_float_sdna(prop, NULL, "fsize");
RNA_def_property_range(prop, 0.0001f, 10000.0f);
RNA_def_property_ui_range(prop, 0.01, 10, 1, 3);
RNA_def_property_ui_text(prop, "Font size", "");
RNA_def_property_ui_text(prop, "Font Size", "");
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
prop = RNA_def_property(srna, "small_caps_scale", PROP_FLOAT, PROP_NONE);
@ -1208,7 +1208,7 @@ static void rna_def_font(BlenderRNA *UNUSED(brna), StructRNA *srna)
prop = RNA_def_property(srna, "active_textbox", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "actbox");
RNA_def_property_ui_text(prop, "The active text box", "");
RNA_def_property_ui_text(prop, "Active Text Box", "");
RNA_def_property_int_funcs(prop, NULL, NULL, "rna_Curve_active_textbox_index_range");
/* strings */

View File

@ -1208,7 +1208,7 @@ static void rna_def_fmodifier_function_generator(BlenderRNA *brna)
srna = RNA_def_struct(brna, "FModifierFunctionGenerator", "FModifier");
RNA_def_struct_ui_text(
srna, "Built-In Function F-Modifier", "Generate values using a Built-In Function");
srna, "Built-In Function F-Modifier", "Generate values using a built-in function");
RNA_def_struct_sdna_from(srna, "FMod_FunctionGenerator", "data");
/* coefficients */

View File

@ -2093,7 +2093,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
RNA_def_property_pointer_funcs(prop, NULL, "rna_GPencilLayer_parent_set", NULL, NULL);
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK);
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_ui_text(prop, "Parent", "Parent Object");
RNA_def_property_ui_text(prop, "Parent", "Parent object");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_dependency_update");
/* parent type */
@ -2405,7 +2405,7 @@ static void rna_def_gpencil_data(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_multiedit", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_DATA_STROKE_MULTIEDIT);
RNA_def_property_ui_text(prop,
"MultiFrame",
"Multiframe",
"Edit strokes from multiple grease pencil keyframes at the same time "
"(keyframes must be selected to be included)");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");

View File

@ -422,7 +422,7 @@ void RNA_def_main(BlenderRNA *brna)
srna = RNA_def_struct(brna, "BlendData", NULL);
RNA_def_struct_ui_text(srna,
"Blend-file Data",
"Blend-File Data",
"Main data structure representing a .blend file and all its data-blocks");
RNA_def_struct_ui_icon(srna, ICON_BLENDER);
@ -448,7 +448,7 @@ void RNA_def_main(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_autopack", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_funcs(prop, "rna_Main_use_autopack_get", "rna_Main_use_autopack_set");
RNA_def_property_ui_text(
prop, "Use Auto-pack", "Automatically pack all external data into .blend file");
prop, "Use Auto-Pack", "Automatically pack all external data into .blend file");
prop = RNA_def_int_vector(srna,
"version",

View File

@ -463,18 +463,18 @@ const EnumPropertyItem rna_enum_dt_method_loop_items[] = {
{MREMAP_MODE_LOOP_NEAREST_LOOPNOR,
"NEAREST_NORMAL",
0,
"Nearest Corner And Best Matching Normal",
"Nearest Corner and Best Matching Normal",
"Copy from nearest corner which has the best matching normal"},
{MREMAP_MODE_LOOP_NEAREST_POLYNOR,
"NEAREST_POLYNOR",
0,
"Nearest Corner And Best Matching Face Normal",
"Nearest Corner and Best Matching Face Normal",
"Copy from nearest corner which has the face with the best matching normal to destination "
"corner's face one"},
{MREMAP_MODE_LOOP_POLY_NEAREST,
"NEAREST_POLY",
0,
"Nearest Corner Of Nearest Face",
"Nearest Corner of Nearest Face",
"Copy from nearest corner of nearest polygon"},
{MREMAP_MODE_LOOP_POLYINTERP_NEAREST,
"POLYINTERP_NEAREST",

View File

@ -203,7 +203,7 @@ const EnumPropertyItem rna_enum_node_math_items[] = {
{NODE_MATH_PINGPONG,
"PINGPONG",
0,
"Ping-pong",
"Ping-Pong",
"Wraps a value and reverses every other cycle (A,B)"},
{0, "", 0, N_("Trigonometric"), ""},
{NODE_MATH_SINE, "SINE", 0, "Sine", "sin(A)"},
@ -4158,19 +4158,19 @@ static const EnumPropertyItem node_principled_hair_items[] = {
{SHD_PRINCIPLED_HAIR_DIRECT_ABSORPTION,
"ABSORPTION",
0,
"Absorption coefficient",
"Directly set the absorption coefficient sigma_a (this is not the most intuitive way to "
"Absorption Coefficient",
"Directly set the absorption coefficient \"sigma_a\" (this is not the most intuitive way to "
"color hair)"},
{SHD_PRINCIPLED_HAIR_PIGMENT_CONCENTRATION,
"MELANIN",
0,
"Melanin concentration",
"Define the melanin concentrations below to get the most realistic-looking hair"
"Melanin Concentration",
"Define the melanin concentrations below to get the most realistic-looking hair "
"(you can get the concentrations for different types of hair online)"},
{SHD_PRINCIPLED_HAIR_REFLECTANCE,
"COLOR",
0,
"Direct coloring",
"Direct Coloring",
"Choose the color of your preference, and the shader will approximate the absorption "
"coefficient to render lookalike hair"},
{0, NULL, 0, NULL, NULL},
@ -4693,7 +4693,7 @@ static void def_sh_tex_sky(StructRNA *srna)
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "ozone_density", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_ui_text(prop, "Ozone", "Density of Ozone layer");
RNA_def_property_ui_text(prop, "Ozone", "Density of ozone layer");
RNA_def_property_range(prop, 0.0f, 10.0f);
RNA_def_property_float_default(prop, 1.0f);
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
@ -4862,7 +4862,7 @@ static void def_sh_tex_gradient(StructRNA *srna)
{SHD_BLEND_QUADRATIC_SPHERE,
"QUADRATIC_SPHERE",
0,
"Quadratic sphere",
"Quadratic Sphere",
"Create a quadratic progression in the shape of a sphere"},
{SHD_BLEND_RADIAL, "RADIAL", 0, "Radial", "Create a radial progression"},
{0, NULL, 0, NULL, NULL},
@ -5030,7 +5030,7 @@ static void def_sh_tex_voronoi(StructRNA *srna)
prop = RNA_def_property(srna, "distance", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "distance");
RNA_def_property_enum_items(prop, prop_distance_items);
RNA_def_property_ui_text(prop, "Distance metric", "");
RNA_def_property_ui_text(prop, "Distance Metric", "");
RNA_def_property_update(prop, 0, "rna_ShaderNode_socket_update");
prop = RNA_def_property(srna, "feature", PROP_ENUM, PROP_NONE);
@ -5450,7 +5450,7 @@ static void def_hair_principled(StructRNA *srna)
prop = RNA_def_property(srna, "parametrization", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "custom1");
RNA_def_property_ui_text(
prop, "Color parametrization", "Select the shader's color parametrization");
prop, "Color Parametrization", "Select the shader's color parametrization");
RNA_def_property_enum_items(prop, node_principled_hair_items);
RNA_def_property_enum_default(prop, SHD_PRINCIPLED_HAIR_REFLECTANCE);
/* Upon editing, update both the node data AND the UI representation */
@ -6149,7 +6149,7 @@ static void def_cmp_image(StructRNA *srna)
RNA_def_property_boolean_sdna(prop, NULL, "custom1", CMP_NODE_IMAGE_USE_STRAIGHT_OUTPUT);
RNA_def_property_ui_text(prop,
"Straight Alpha Output",
"Put Node output buffer to straight alpha instead of premultiplied");
"Put node output buffer to straight alpha instead of premultiplied");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
/* NB: image user properties used in the UI are redefined in def_node_image_user,
@ -6495,13 +6495,13 @@ static void def_cmp_color_matte(StructRNA *srna)
prop = RNA_def_property(srna, "color_saturation", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "t2");
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_ui_text(prop, "S", "Saturation Tolerance for the color");
RNA_def_property_ui_text(prop, "S", "Saturation tolerance for the color");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "color_value", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "t3");
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_ui_text(prop, "V", "Value Tolerance for the color");
RNA_def_property_ui_text(prop, "V", "Value tolerance for the color");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
}
@ -6511,7 +6511,7 @@ static void def_cmp_distance_matte(StructRNA *srna)
static const EnumPropertyItem color_space_items[] = {
{1, "RGB", 0, "RGB", "RGB color space"},
{2, "YCC", 0, "YCC", "YCbCr Suppression"},
{2, "YCC", 0, "YCC", "YCbCr suppression"},
{0, NULL, 0, NULL, NULL},
};
@ -6544,22 +6544,22 @@ static void def_cmp_color_spill(StructRNA *srna)
PropertyRNA *prop;
static const EnumPropertyItem channel_items[] = {
{1, "R", 0, "R", "Red Spill Suppression"},
{2, "G", 0, "G", "Green Spill Suppression"},
{3, "B", 0, "B", "Blue Spill Suppression"},
{1, "R", 0, "R", "Red spill suppression"},
{2, "G", 0, "G", "Green spill suppression"},
{3, "B", 0, "B", "Blue spill suppression"},
{0, NULL, 0, NULL, NULL},
};
static const EnumPropertyItem limit_channel_items[] = {
{0, "R", 0, "R", "Limit by Red"},
{1, "G", 0, "G", "Limit by Green"},
{2, "B", 0, "B", "Limit by Blue"},
{0, "R", 0, "R", "Limit by red"},
{1, "G", 0, "G", "Limit by green"},
{2, "B", 0, "B", "Limit by blue"},
{0, NULL, 0, NULL, NULL},
};
static const EnumPropertyItem algorithm_items[] = {
{0, "SIMPLE", 0, "Simple", "Simple Limit Algorithm"},
{1, "AVERAGE", 0, "Average", "Average Limit Algorithm"},
{0, "SIMPLE", 0, "Simple", "Simple limit algorithm"},
{1, "AVERAGE", 0, "Average", "Average limit algorithm"},
{0, NULL, 0, NULL, NULL},
};
@ -6691,10 +6691,10 @@ static void def_cmp_channel_matte(StructRNA *srna)
PropertyRNA *prop;
static const EnumPropertyItem color_space_items[] = {
{CMP_NODE_CHANNEL_MATTE_CS_RGB, "RGB", 0, "RGB", "RGB Color Space"},
{CMP_NODE_CHANNEL_MATTE_CS_HSV, "HSV", 0, "HSV", "HSV Color Space"},
{CMP_NODE_CHANNEL_MATTE_CS_YUV, "YUV", 0, "YUV", "YUV Color Space"},
{CMP_NODE_CHANNEL_MATTE_CS_YCC, "YCC", 0, "YCbCr", "YCbCr Color Space"},
{CMP_NODE_CHANNEL_MATTE_CS_RGB, "RGB", 0, "RGB", "RGB color space"},
{CMP_NODE_CHANNEL_MATTE_CS_HSV, "HSV", 0, "HSV", "HSV color space"},
{CMP_NODE_CHANNEL_MATTE_CS_YUV, "YUV", 0, "YUV", "YUV color space"},
{CMP_NODE_CHANNEL_MATTE_CS_YCC, "YCC", 0, "YCbCr", "YCbCr color space"},
{0, NULL, 0, NULL, NULL},
};
@ -7334,7 +7334,7 @@ static void def_cmp_colorbalance(StructRNA *srna)
RNA_def_property_array(prop, 3);
RNA_def_property_float_array_default(prop, default_1);
RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
RNA_def_property_ui_text(prop, "Lift", "Correction for Shadows");
RNA_def_property_ui_text(prop, "Lift", "Correction for shadows");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeColorBalance_update_lgg");
prop = RNA_def_property(srna, "gamma", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -7342,7 +7342,7 @@ static void def_cmp_colorbalance(StructRNA *srna)
RNA_def_property_array(prop, 3);
RNA_def_property_float_array_default(prop, default_1);
RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
RNA_def_property_ui_text(prop, "Gamma", "Correction for Midtones");
RNA_def_property_ui_text(prop, "Gamma", "Correction for midtones");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeColorBalance_update_lgg");
prop = RNA_def_property(srna, "gain", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -7350,7 +7350,7 @@ static void def_cmp_colorbalance(StructRNA *srna)
RNA_def_property_array(prop, 3);
RNA_def_property_float_array_default(prop, default_1);
RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
RNA_def_property_ui_text(prop, "Gain", "Correction for Highlights");
RNA_def_property_ui_text(prop, "Gain", "Correction for highlights");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeColorBalance_update_lgg");
prop = RNA_def_property(srna, "offset", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -7366,7 +7366,7 @@ static void def_cmp_colorbalance(StructRNA *srna)
RNA_def_property_float_array_default(prop, default_1);
RNA_def_property_range(prop, 0.0f, FLT_MAX);
RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
RNA_def_property_ui_text(prop, "Power", "Correction for Midtones");
RNA_def_property_ui_text(prop, "Power", "Correction for midtones");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeColorBalance_update_cdl");
prop = RNA_def_property(srna, "slope", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -7375,7 +7375,7 @@ static void def_cmp_colorbalance(StructRNA *srna)
RNA_def_property_float_array_default(prop, default_1);
RNA_def_property_range(prop, 0.0f, FLT_MAX);
RNA_def_property_ui_range(prop, 0, 2, 0.1, 3);
RNA_def_property_ui_text(prop, "Slope", "Correction for Highlights");
RNA_def_property_ui_text(prop, "Slope", "Correction for highlights");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeColorBalance_update_cdl");
prop = RNA_def_property(srna, "offset_basis", PROP_FLOAT, PROP_NONE);
@ -7403,7 +7403,7 @@ static void def_cmp_zcombine(StructRNA *srna)
prop = RNA_def_property(srna, "use_alpha", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "custom1", 0);
RNA_def_property_ui_text(
prop, "Use Alpha", "Take Alpha channel into account when doing the Z operation");
prop, "Use Alpha", "Take alpha channel into account when doing the Z operation");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "use_antialias_z", PROP_BOOLEAN, PROP_NONE);

View File

@ -2611,7 +2611,7 @@ static void rna_def_object_display(BlenderRNA *brna)
PropertyRNA *prop;
srna = RNA_def_struct(brna, "ObjectDisplay", NULL);
RNA_def_struct_ui_text(srna, "Object Display", "Object display settings for 3d viewport");
RNA_def_struct_ui_text(srna, "Object Display", "Object display settings for 3D viewport");
RNA_def_struct_sdna(srna, "Object");
RNA_def_struct_nested(brna, srna, "Object");
RNA_def_struct_path_func(srna, "rna_ObjectDisplay_path");
@ -2621,7 +2621,7 @@ static void rna_def_object_display(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_shadows", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "dtx", OB_DRAW_NO_SHADOW_CAST);
RNA_def_property_boolean_default(prop, true);
RNA_def_property_ui_text(prop, "Shadow", "Object cast shadows in the 3d viewport");
RNA_def_property_ui_text(prop, "Shadow", "Object cast shadows in the 3D viewport");
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL);
RNA_define_lib_overridable(false);
@ -2686,7 +2686,7 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_enum_items(prop, rna_enum_object_type_items);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_override_clear_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
RNA_def_property_ui_text(prop, "Type", "Type of Object");
RNA_def_property_ui_text(prop, "Type", "Type of object");
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ID);
prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
@ -2712,7 +2712,7 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_pointer_funcs(prop, NULL, "rna_Object_parent_set", NULL, NULL);
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK);
RNA_def_property_override_funcs(prop, NULL, NULL, "rna_Object_parent_override_apply");
RNA_def_property_ui_text(prop, "Parent", "Parent Object");
RNA_def_property_ui_text(prop, "Parent", "Parent object");
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_dependency_update");
prop = RNA_def_property(srna, "parent_type", PROP_ENUM, PROP_NONE);
@ -3339,14 +3339,14 @@ static void rna_def_object(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_only_shape_key", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "shapeflag", OB_SHAPE_LOCK);
RNA_def_property_ui_text(
prop, "Shape Key Lock", "Always show the current Shape for this Object");
prop, "Shape Key Lock", "Always show the current shape for this object");
RNA_def_property_ui_icon(prop, ICON_UNPINNED, 1);
RNA_def_property_update(prop, 0, "rna_Object_internal_update_data");
prop = RNA_def_property(srna, "use_shape_key_edit_mode", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "shapeflag", OB_SHAPE_EDIT_MODE);
RNA_def_property_ui_text(
prop, "Shape Key Edit Mode", "Apply shape keys in edit mode (for Meshes only)");
prop, "Shape Key Edit Mode", "Apply shape keys in edit mode (for meshes only)");
RNA_def_property_ui_icon(prop, ICON_EDITMODE_HLT, 0);
RNA_def_property_update(prop, 0, "rna_Object_internal_update_data");
@ -3393,7 +3393,7 @@ static void rna_def_object(BlenderRNA *brna)
RNA_def_property_flag(prop, PROP_NEVER_NULL);
RNA_def_property_struct_type(prop, "ObjectDisplay");
RNA_def_property_pointer_funcs(prop, "rna_Object_display_get", NULL, NULL, NULL);
RNA_def_property_ui_text(prop, "Object Display", "Object display settings for 3d viewport");
RNA_def_property_ui_text(prop, "Object Display", "Object display settings for 3D viewport");
RNA_define_lib_overridable(false);

View File

@ -2619,7 +2619,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_enum_items(prop, part_type_items);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_Particle_type_itemf");
RNA_def_property_ui_text(prop, "Type", "Particle Type");
RNA_def_property_ui_text(prop, "Type", "Particle type");
RNA_def_property_update(prop, 0, "rna_Particle_change_type");
prop = RNA_def_property(srna, "emit_from", PROP_ENUM, PROP_NONE);

View File

@ -1027,7 +1027,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
RNA_def_property_struct_type(prop, "Constraint");
RNA_def_property_override_flag(
prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY | PROPOVERRIDE_LIBRARY_INSERTION);
RNA_def_property_ui_text(prop, "Constraints", "Constraints that act on this PoseChannel");
RNA_def_property_ui_text(prop, "Constraints", "Constraints that act on this pose channel");
RNA_def_property_override_funcs(prop, NULL, NULL, "rna_PoseChannel_constraints_override_apply");
rna_def_pose_channel_constraints(brna, prop);
@ -1392,7 +1392,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
RNA_def_property_flag(prop, PROP_EDITABLE);
RNA_def_property_pointer_funcs(
prop, "rna_PoseChannel_bone_group_get", "rna_PoseChannel_bone_group_set", NULL, NULL);
RNA_def_property_ui_text(prop, "Bone Group", "Bone Group this pose channel belongs to");
RNA_def_property_ui_text(prop, "Bone Group", "Bone group this pose channel belongs to");
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_update");

View File

@ -4288,7 +4288,7 @@ void rna_def_view_layer_common(StructRNA *srna, const bool scene)
prop = RNA_def_property(srna, "use_edge_enhance", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "layflag", SCE_LAY_EDGE);
RNA_def_property_ui_text(
prop, "Edge", "Render Edge-enhance in this Layer (only works for Solid faces)");
prop, "Edge", "Render edge-enhance in this layer (only works for solid faces)");
if (scene) {
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
}
@ -5635,7 +5635,7 @@ static void rna_def_scene_image_format_data(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "stereo3d_format");
RNA_def_property_flag(prop, PROP_NEVER_NULL);
RNA_def_property_struct_type(prop, "Stereo3dFormat");
RNA_def_property_ui_text(prop, "Stereo 3D Format", "Settings for stereo 3d");
RNA_def_property_ui_text(prop, "Stereo 3D Format", "Settings for stereo 3D");
/* color management */
prop = RNA_def_property(srna, "view_settings", PROP_POINTER, PROP_NONE);
@ -6962,7 +6962,7 @@ static void rna_def_scene_display(BlenderRNA *brna)
PropertyRNA *prop;
srna = RNA_def_struct(brna, "SceneDisplay", NULL);
RNA_def_struct_ui_text(srna, "Scene Display", "Scene display settings for 3d viewport");
RNA_def_struct_ui_text(srna, "Scene Display", "Scene display settings for 3D viewport");
RNA_def_struct_sdna(srna, "SceneDisplay");
prop = RNA_def_property(srna, "light_direction", PROP_FLOAT, PROP_DIRECTION);
@ -7065,7 +7065,7 @@ static void rna_def_scene_eevee(BlenderRNA *brna)
srna = RNA_def_struct(brna, "SceneEEVEE", NULL);
RNA_def_struct_path_func(srna, "rna_SceneEEVEE_path");
RNA_def_struct_ui_text(srna, "Scene Display", "Scene display settings for 3d viewport");
RNA_def_struct_ui_text(srna, "Scene Display", "Scene display settings for 3D viewport");
/* Indirect Lighting */
prop = RNA_def_property(srna, "gi_diffuse_bounces", PROP_INT, PROP_NONE);
@ -7621,7 +7621,7 @@ void RNA_def_scene(BlenderRNA *brna)
RNA_def_property_ui_text(
prop,
"Current Frame",
"Current Frame, to update animation data from python frame_set() instead");
"Current frame, to update animation data from python frame_set() instead");
RNA_def_property_update(prop, NC_SCENE | ND_FRAME, "rna_Scene_frame_update");
prop = RNA_def_property(srna, "frame_subframe", PROP_FLOAT, PROP_TIME);
@ -7724,7 +7724,7 @@ void RNA_def_scene(BlenderRNA *brna)
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SCE_KEYS_NO_SELONLY);
RNA_def_property_ui_text(prop,
"Only Keyframes from Selected Channels",
"Consider keyframes for active Object and/or its selected bones only "
"Consider keyframes for active object and/or its selected bones only "
"(in timeline and when jumping between keyframes)");
RNA_def_property_update(prop, NC_SCENE | ND_FRAME, NULL);
@ -8008,7 +8008,7 @@ void RNA_def_scene(BlenderRNA *brna)
prop = RNA_def_property(srna, "display", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "display");
RNA_def_property_struct_type(prop, "SceneDisplay");
RNA_def_property_ui_text(prop, "Scene Display", "Scene display settings for 3d viewport");
RNA_def_property_ui_text(prop, "Scene Display", "Scene display settings for 3D viewport");
/* EEVEE */
prop = RNA_def_property(srna, "eevee", PROP_POINTER, PROP_NONE);

View File

@ -849,28 +849,28 @@ static void rna_def_sculpt(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_automasking_topology", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_TOPOLOGY);
RNA_def_property_ui_text(prop,
"Topology Auto-masking",
"Topology Auto-Masking",
"Affect only vertices connected to the active vertex under the brush");
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
prop = RNA_def_property(srna, "use_automasking_face_sets", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_FACE_SETS);
RNA_def_property_ui_text(prop,
"Face Sets Auto-masking",
"Face Sets Auto-Masking",
"Affect only vertices that share Face Sets with the active vertex");
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
prop = RNA_def_property(srna, "use_automasking_boundary_edges", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_BOUNDARY_EDGES);
RNA_def_property_ui_text(
prop, "Mesh Boundary Auto-masking", "Do not affect non manifold boundary edges");
prop, "Mesh Boundary Auto-Masking", "Do not affect non manifold boundary edges");
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
prop = RNA_def_property(srna, "use_automasking_boundary_face_sets", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(
prop, NULL, "automasking_flags", BRUSH_AUTOMASKING_BOUNDARY_FACE_SETS);
RNA_def_property_ui_text(prop,
"Face Sets Boundary Auto-masking",
"Face Sets Boundary Auto-Masking",
"Do not affect vertices that belong to a Face Set boundary");
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);

View File

@ -2327,7 +2327,7 @@ static void rna_def_image(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "stereo3d_format");
RNA_def_property_flag(prop, PROP_NEVER_NULL);
RNA_def_property_struct_type(prop, "Stereo3dFormat");
RNA_def_property_ui_text(prop, "Stereo 3D Format", "Settings for stereo 3d");
RNA_def_property_ui_text(prop, "Stereo 3D Format", "Settings for stereo 3D");
rna_def_filter_video(srna);
rna_def_proxy(srna);
@ -2485,7 +2485,7 @@ static void rna_def_movie(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "stereo3d_format");
RNA_def_property_flag(prop, PROP_NEVER_NULL);
RNA_def_property_struct_type(prop, "Stereo3dFormat");
RNA_def_property_ui_text(prop, "Stereo 3D Format", "Settings for stereo 3d");
RNA_def_property_ui_text(prop, "Stereo 3D Format", "Settings for stereo 3D");
rna_def_filter_video(srna);
rna_def_proxy(srna);

View File

@ -4552,7 +4552,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_stereo_3d_convergence_plane", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "stereo3d_flag", V3D_S3D_DISPPLANE);
RNA_def_property_ui_text(prop, "Plane", "Show the stereo 3d convergence plane");
RNA_def_property_ui_text(prop, "Plane", "Show the stereo 3D convergence plane");
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
prop = RNA_def_property(srna, "stereo_3d_convergence_plane_alpha", PROP_FLOAT, PROP_FACTOR);
@ -4562,7 +4562,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_stereo_3d_volume", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "stereo3d_flag", V3D_S3D_DISPVOLUME);
RNA_def_property_ui_text(prop, "Volume", "Show the stereo 3d frustum volume");
RNA_def_property_ui_text(prop, "Volume", "Show the stereo 3D frustum volume");
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
prop = RNA_def_property(srna, "stereo_3d_volume_alpha", PROP_FLOAT, PROP_FACTOR);

View File

@ -1045,7 +1045,7 @@ static void rna_def_texture_blend(BlenderRNA *brna)
{TEX_HALO,
"QUADRATIC_SPHERE",
0,
"Quadratic sphere",
"Quadratic Sphere",
"Create a quadratic progression in the shape of a sphere"},
{TEX_RAD, "RADIAL", 0, "Radial", "Create a radial progression"},
{0, NULL, 0, NULL, NULL},

View File

@ -1276,12 +1276,12 @@ static void rna_def_ui_layout(BlenderRNA *brna)
prop = RNA_def_property(srna, "ui_units_x", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_funcs(prop, "rna_UILayout_units_x_get", "rna_UILayout_units_x_set", NULL);
RNA_def_property_ui_text(
prop, "Units X", "Fixed Size along the X for items in this (sub)layout");
prop, "Units X", "Fixed size along the X for items in this (sub)layout");
prop = RNA_def_property(srna, "ui_units_y", PROP_FLOAT, PROP_UNSIGNED);
RNA_def_property_float_funcs(prop, "rna_UILayout_units_y_get", "rna_UILayout_units_y_set", NULL);
RNA_def_property_ui_text(
prop, "Units Y", "Fixed Size along the Y for items in this (sub)layout");
prop, "Units Y", "Fixed size along the Y for items in this (sub)layout");
RNA_api_ui_layout(srna);
prop = RNA_def_property(srna, "emboss", PROP_ENUM, PROP_NONE);
@ -1380,7 +1380,7 @@ static void rna_def_panel(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "runtime.custom_data_ptr");
RNA_def_property_pointer_funcs(
prop, "rna_Panel_custom_data_get", NULL, "rna_Panel_custom_data_typef", NULL);
RNA_def_property_ui_text(prop, "Custom Data", "Panel Data");
RNA_def_property_ui_text(prop, "Custom Data", "Panel data");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
/* registration */
@ -1420,7 +1420,7 @@ static void rna_def_panel(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "type->space_type");
RNA_def_property_enum_items(prop, rna_enum_space_type_items);
RNA_def_property_flag(prop, PROP_REGISTER);
RNA_def_property_ui_text(prop, "Space type", "The space where the panel is going to be used in");
RNA_def_property_ui_text(prop, "Space Type", "The space where the panel is going to be used in");
prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "type->region_type");
@ -1678,7 +1678,7 @@ static void rna_def_header(BlenderRNA *brna)
RNA_def_property_enum_items(prop, rna_enum_space_type_items);
RNA_def_property_flag(prop, PROP_REGISTER);
RNA_def_property_ui_text(
prop, "Space type", "The space where the header is going to be used in");
prop, "Space Type", "The space where the header is going to be used in");
prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "type->region_type");

View File

@ -2241,7 +2241,7 @@ static void rna_def_userdef_theme_space_view3d(BlenderRNA *brna)
prop = RNA_def_property(srna, "text_keyframe", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "time_keyframe");
RNA_def_property_array(prop, 3);
RNA_def_property_ui_text(prop, "Object Keyframe", "Color for indicating Object keyframes");
RNA_def_property_ui_text(prop, "Object Keyframe", "Color for indicating object keyframes");
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
/* Object type options */
@ -2390,7 +2390,7 @@ static void rna_def_userdef_theme_space_view3d(BlenderRNA *brna)
RNA_def_property_int_sdna(prop, NULL, "obcenter_dia");
RNA_def_property_range(prop, 4, 10);
RNA_def_property_ui_text(
prop, "Object Origin Size", "Diameter in Pixels for Object/Light origin display");
prop, "Object Origin Size", "Diameter in pixels for object/light origin display");
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
}
@ -2756,7 +2756,7 @@ static void rna_def_userdef_theme_space_text(BlenderRNA *brna)
prop = RNA_def_property(srna, "syntax_builtin", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "syntaxb");
RNA_def_property_array(prop, 3);
RNA_def_property_ui_text(prop, "Syntax Built-in", "");
RNA_def_property_ui_text(prop, "Syntax Built-In", "");
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
prop = RNA_def_property(srna, "syntax_symbols", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -2774,7 +2774,7 @@ static void rna_def_userdef_theme_space_text(BlenderRNA *brna)
prop = RNA_def_property(srna, "syntax_preprocessor", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "syntaxd");
RNA_def_property_array(prop, 3);
RNA_def_property_ui_text(prop, "Syntax PreProcessor", "");
RNA_def_property_ui_text(prop, "Syntax Preprocessor", "");
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
prop = RNA_def_property(srna, "syntax_reserved", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -3090,7 +3090,7 @@ static void rna_def_userdef_theme_space_image(BlenderRNA *brna)
prop = RNA_def_property(srna, "uv_shadow", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_float_sdna(prop, NULL, "uv_shadow");
RNA_def_property_array(prop, 4);
RNA_def_property_ui_text(prop, "Texture paint/Modifier UVs", "");
RNA_def_property_ui_text(prop, "Texture Paint/Modifier UVs", "");
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
prop = RNA_def_property(srna, "frame_current", PROP_FLOAT, PROP_COLOR_GAMMA);
@ -6023,7 +6023,7 @@ static void rna_def_userdef_filepaths(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_hidden_files_datablocks", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_HIDE_DOT);
RNA_def_property_ui_text(prop,
"Hide Dot Files/Data-blocks",
"Hide Dot Files/Data-Blocks",
"Hide files and data-blocks if their name start with a dot (.*)");
prop = RNA_def_property(srna, "use_filter_files", PROP_BOOLEAN, PROP_NONE);

View File

@ -359,7 +359,7 @@ static void rna_def_volume_display(BlenderRNA *brna)
PropertyRNA *prop;
srna = RNA_def_struct(brna, "VolumeDisplay", NULL);
RNA_def_struct_ui_text(srna, "Volume Display", "Volume object display settings for 3d viewport");
RNA_def_struct_ui_text(srna, "Volume Display", "Volume object display settings for 3D viewport");
RNA_def_struct_sdna(srna, "VolumeDisplay");
prop = RNA_def_property(srna, "density", PROP_FLOAT, PROP_NONE);
@ -604,13 +604,13 @@ static void rna_def_volume(BlenderRNA *brna)
prop = RNA_def_property(srna, "display", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "display");
RNA_def_property_struct_type(prop, "VolumeDisplay");
RNA_def_property_ui_text(prop, "Display", "Volume display settings for 3d viewport");
RNA_def_property_ui_text(prop, "Display", "Volume display settings for 3D viewport");
/* Render */
prop = RNA_def_property(srna, "render", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "render");
RNA_def_property_struct_type(prop, "VolumeRender");
RNA_def_property_ui_text(prop, "Render", "Volume render settings for 3d viewport");
RNA_def_property_ui_text(prop, "Render", "Volume render settings for 3D viewport");
/* Common */
rna_def_animdata_common(srna);

View File

@ -1945,7 +1945,7 @@ static void rna_def_operator(BlenderRNA *brna)
RNA_api_operator(srna);
srna = RNA_def_struct(brna, "OperatorProperties", NULL);
RNA_def_struct_ui_text(srna, "Operator Properties", "Input properties of an Operator");
RNA_def_struct_ui_text(srna, "Operator Properties", "Input properties of an operator");
RNA_def_struct_refine_func(srna, "rna_OperatorProperties_refine");
RNA_def_struct_idprops_func(srna, "rna_OperatorProperties_idprops");
RNA_def_struct_property_tags(srna, rna_enum_operator_property_tags);
@ -2387,7 +2387,7 @@ static void rna_def_window(BlenderRNA *brna)
RNA_def_property_pointer_sdna(prop, NULL, "stereo3d_format");
RNA_def_property_flag(prop, PROP_NEVER_NULL);
RNA_def_property_struct_type(prop, "Stereo3dDisplay");
RNA_def_property_ui_text(prop, "Stereo 3D Display", "Settings for stereo 3d display");
RNA_def_property_ui_text(prop, "Stereo 3D Display", "Settings for stereo 3D display");
RNA_api_window(srna);
}

View File

@ -1359,7 +1359,7 @@ static void rna_def_gizmogroup(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "type->gzmap_params.spaceid");
RNA_def_property_enum_items(prop, rna_enum_space_type_items);
RNA_def_property_flag(prop, PROP_REGISTER);
RNA_def_property_ui_text(prop, "Space type", "The space where the panel is going to be used in");
RNA_def_property_ui_text(prop, "Space Type", "The space where the panel is going to be used in");
prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "type->gzmap_params.regionid");

View File

@ -3110,13 +3110,13 @@ enum {
};
static const EnumPropertyItem redraw_timer_type_items[] = {
{eRTDrawRegion, "DRAW", 0, "Draw Region", "Draw Region"},
{eRTDrawRegionSwap, "DRAW_SWAP", 0, "Draw Region + Swap", "Draw Region and Swap"},
{eRTDrawWindow, "DRAW_WIN", 0, "Draw Window", "Draw Window"},
{eRTDrawWindowSwap, "DRAW_WIN_SWAP", 0, "Draw Window + Swap", "Draw Window and Swap"},
{eRTAnimationStep, "ANIM_STEP", 0, "Anim Step", "Animation Steps"},
{eRTAnimationPlay, "ANIM_PLAY", 0, "Anim Play", "Animation Playback"},
{eRTUndo, "UNDO", 0, "Undo/Redo", "Undo/Redo"},
{eRTDrawRegion, "DRAW", 0, "Draw Region", "Draw region"},
{eRTDrawRegionSwap, "DRAW_SWAP", 0, "Draw Region & Swap", "Draw region and swap"},
{eRTDrawWindow, "DRAW_WIN", 0, "Draw Window", "Draw window"},
{eRTDrawWindowSwap, "DRAW_WIN_SWAP", 0, "Draw Window & Swap", "Draw window and swap"},
{eRTAnimationStep, "ANIM_STEP", 0, "Animation Step", "Animation steps"},
{eRTAnimationPlay, "ANIM_PLAY", 0, "Animation Play", "Animation playback"},
{eRTUndo, "UNDO", 0, "Undo/Redo", "Undo and redo"},
{0, NULL, 0, NULL, NULL},
};