Cleanup: Fix a few messages in the UI #105473
@ -249,7 +249,7 @@ def align_uv_rotation(context, method, axis):
|
|||||||
|
|
||||||
|
|
||||||
class AlignUVRotation(Operator):
|
class AlignUVRotation(Operator):
|
||||||
"""Align uv island's rotation"""
|
"""Align the UV island's rotation"""
|
||||||
bl_idname = "uv.align_rotation"
|
bl_idname = "uv.align_rotation"
|
||||||
bl_label = "Align Rotation"
|
bl_label = "Align Rotation"
|
||||||
bl_options = {'REGISTER', 'UNDO'}
|
bl_options = {'REGISTER', 'UNDO'}
|
||||||
@ -382,7 +382,7 @@ def randomize_uv_transform(context, transform_params):
|
|||||||
|
|
||||||
|
|
||||||
class RandomizeUVTransform(Operator):
|
class RandomizeUVTransform(Operator):
|
||||||
"""Randomize uv island's location, rotation, and scale"""
|
"""Randomize the UV island's location, rotation, and scale"""
|
||||||
bl_idname = "uv.randomize_uv_transform"
|
bl_idname = "uv.randomize_uv_transform"
|
||||||
bl_label = "Randomize"
|
bl_label = "Randomize"
|
||||||
bl_options = {'REGISTER', 'UNDO'}
|
bl_options = {'REGISTER', 'UNDO'}
|
||||||
|
@ -657,7 +657,7 @@ void OBJECT_OT_hook_add_selob(wmOperatorType *ot)
|
|||||||
"use_bone",
|
"use_bone",
|
||||||
false,
|
false,
|
||||||
"Active Bone",
|
"Active Bone",
|
||||||
"Assign the hook to the hook objects active bone");
|
"Assign the hook to the hook object's active bone");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int object_add_hook_newob_exec(bContext *C, wmOperator *op)
|
static int object_add_hook_newob_exec(bContext *C, wmOperator *op)
|
||||||
|
@ -6985,7 +6985,7 @@ void PAINT_OT_add_simple_uvs(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Add Simple UVs";
|
ot->name = "Add Simple UVs";
|
||||||
ot->description = "Add cube map uvs on mesh";
|
ot->description = "Add cube map UVs on mesh";
|
||||||
ot->idname = "PAINT_OT_add_simple_uvs";
|
ot->idname = "PAINT_OT_add_simple_uvs";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
|
@ -2861,7 +2861,7 @@ static const EnumPropertyItem outliner_lib_op_type_items[] = {
|
|||||||
"DELETE",
|
"DELETE",
|
||||||
ICON_X,
|
ICON_X,
|
||||||
"Delete",
|
"Delete",
|
||||||
"Delete this library and all its item.\n"
|
"Delete this library and all its items.\n"
|
||||||
"Warning: No undo"},
|
"Warning: No undo"},
|
||||||
{OL_LIB_RELOCATE,
|
{OL_LIB_RELOCATE,
|
||||||
"RELOCATE",
|
"RELOCATE",
|
||||||
|
@ -41,7 +41,7 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
|
|||||||
"GP_TEXTURE",
|
"GP_TEXTURE",
|
||||||
ICON_MOD_UVPROJECT,
|
ICON_MOD_UVPROJECT,
|
||||||
"Texture Mapping",
|
"Texture Mapping",
|
||||||
"Change stroke uv texture values"},
|
"Change stroke UV texture values"},
|
||||||
{eGpencilModifierType_Time, "GP_TIME", ICON_MOD_TIME, "Time Offset", "Offset keyframes"},
|
{eGpencilModifierType_Time, "GP_TIME", ICON_MOD_TIME, "Time Offset", "Offset keyframes"},
|
||||||
{eGpencilModifierType_WeightAngle,
|
{eGpencilModifierType_WeightAngle,
|
||||||
"GP_WEIGHT_ANGLE",
|
"GP_WEIGHT_ANGLE",
|
||||||
@ -1031,7 +1031,7 @@ static void rna_def_modifier_gpencilnoise(BlenderRNA *brna)
|
|||||||
RNA_def_property_float_sdna(prop, NULL, "factor_uvs");
|
RNA_def_property_float_sdna(prop, NULL, "factor_uvs");
|
||||||
RNA_def_property_range(prop, 0.0, FLT_MAX);
|
RNA_def_property_range(prop, 0.0, FLT_MAX);
|
||||||
RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 2);
|
RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 2);
|
||||||
RNA_def_property_ui_text(prop, "UV Factor", "Amount of noise to apply uv rotation");
|
RNA_def_property_ui_text(prop, "UV Factor", "Amount of noise to apply to UV rotation");
|
||||||
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
|
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "use_random", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "use_random", PROP_BOOLEAN, PROP_NONE);
|
||||||
|
@ -3065,7 +3065,7 @@ static void rna_def_mloopuv(BlenderRNA *brna)
|
|||||||
|
|
||||||
prop = RNA_def_property(srna, "pin", PROP_COLLECTION, PROP_NONE);
|
prop = RNA_def_property(srna, "pin", PROP_COLLECTION, PROP_NONE);
|
||||||
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
RNA_def_property_struct_type(prop, "BoolAttributeValue");
|
||||||
RNA_def_property_ui_text(prop, "UV Pin", "UV pinned state in the uv editor");
|
RNA_def_property_ui_text(prop, "UV Pin", "UV pinned state in the UV editor");
|
||||||
RNA_def_property_collection_funcs(prop,
|
RNA_def_property_collection_funcs(prop,
|
||||||
"rna_MeshUVLoopLayer_pin_begin",
|
"rna_MeshUVLoopLayer_pin_begin",
|
||||||
"rna_iterator_array_next",
|
"rna_iterator_array_next",
|
||||||
|
@ -4928,7 +4928,7 @@ static void rna_def_modifier_uvwarp(BlenderRNA *brna)
|
|||||||
PropertyRNA *prop;
|
PropertyRNA *prop;
|
||||||
|
|
||||||
srna = RNA_def_struct(brna, "UVWarpModifier", "Modifier");
|
srna = RNA_def_struct(brna, "UVWarpModifier", "Modifier");
|
||||||
RNA_def_struct_ui_text(srna, "UVWarp Modifier", "Add target position to uv coordinates");
|
RNA_def_struct_ui_text(srna, "UVWarp Modifier", "Add target position to UV coordinates");
|
||||||
RNA_def_struct_sdna(srna, "UVWarpModifierData");
|
RNA_def_struct_sdna(srna, "UVWarpModifierData");
|
||||||
RNA_def_struct_ui_icon(srna, ICON_MOD_UVPROJECT);
|
RNA_def_struct_ui_icon(srna, ICON_MOD_UVPROJECT);
|
||||||
|
|
||||||
|
@ -1150,7 +1150,7 @@ static void rna_def_collision(BlenderRNA *brna)
|
|||||||
prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "deflect", 1);
|
RNA_def_property_boolean_sdna(prop, NULL, "deflect", 1);
|
||||||
RNA_def_property_ui_text(
|
RNA_def_property_ui_text(
|
||||||
prop, "Enabled", "Enable this objects as a collider for physics systems");
|
prop, "Enabled", "Enable this object as a collider for physics systems");
|
||||||
RNA_def_property_update(prop, 0, "rna_CollisionSettings_dependency_update");
|
RNA_def_property_update(prop, 0, "rna_CollisionSettings_dependency_update");
|
||||||
|
|
||||||
/* Particle Interaction */
|
/* Particle Interaction */
|
||||||
|
@ -3608,7 +3608,7 @@ static void rna_def_space_image_uv(BlenderRNA *brna)
|
|||||||
prop = RNA_def_property(srna, "show_texpaint", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "show_texpaint", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SI_NO_DRAW_TEXPAINT);
|
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SI_NO_DRAW_TEXPAINT);
|
||||||
RNA_def_property_ui_text(
|
RNA_def_property_ui_text(
|
||||||
prop, "Display Texture Paint UVs", "Display overlay of texture paint uv layer");
|
prop, "Display Texture Paint UVs", "Display overlay of texture paint UV layer");
|
||||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL);
|
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL);
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "show_pixel_coords", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "show_pixel_coords", PROP_BOOLEAN, PROP_NONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user