Misc picky edits to UI messages.
This commit is contained in:
parent
5585b3e908
commit
ebe01d06bc
@ -911,7 +911,7 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel):
|
||||
col.prop_search(psys, "billboard_time_index_uv", ob.data, "uv_textures")
|
||||
|
||||
split = layout.split(percentage=0.33)
|
||||
split.label(text="Split uv's:")
|
||||
split.label(text="Split UVs:")
|
||||
split.prop(part, "billboard_uv_split", text="Number of splits")
|
||||
|
||||
if psys:
|
||||
|
@ -359,7 +359,7 @@ static void BRUSH_OT_uv_sculpt_tool_set(wmOperatorType *ot)
|
||||
extern EnumPropertyItem uv_sculpt_tool_items[];
|
||||
/* identifiers */
|
||||
ot->name = "UV Sculpt Tool Set";
|
||||
ot->description = "Set the uv sculpt tool";
|
||||
ot->description = "Set the UV sculpt tool";
|
||||
ot->idname = "BRUSH_OT_uv_sculpt_tool_set";
|
||||
|
||||
/* api callbacks */
|
||||
|
@ -1689,7 +1689,7 @@ void OUTLINER_OT_parent_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Drop to Clear Parent";
|
||||
ot->description = "Drag to clear parent in outliner";
|
||||
ot->description = "Drag to clear parent in Outliner";
|
||||
ot->idname= "OUTLINER_OT_parent_clear";
|
||||
|
||||
/* api callbacks */
|
||||
|
@ -1454,11 +1454,15 @@ void UV_OT_stitch(wmOperatorType *ot)
|
||||
|
||||
/* properties */
|
||||
RNA_def_boolean(ot->srna, "use_limit", 0, "Use Limit", "Stitch UVs within a specified limit distance");
|
||||
RNA_def_boolean(ot->srna, "snap_islands", 1, "Snap Islands", "Snap islands together. On edge stitch mode, rotates the islands too");
|
||||
RNA_def_boolean(ot->srna, "snap_islands", 1, "Snap Islands",
|
||||
"Snap islands together (on edge stitch mode, rotates the islands too)");
|
||||
|
||||
RNA_def_float(ot->srna, "limit", 0.01f, 0.0f, FLT_MAX, "Limit", "Limit distance in normalized coordinates", 0.0, FLT_MAX);
|
||||
RNA_def_int(ot->srna, "static_island", 0, 0, INT_MAX, "Static Island", "Island that stays in place when stitching islands", 0, INT_MAX);
|
||||
RNA_def_boolean(ot->srna, "midpoint_snap", 0, "Snap At Midpoint", "Uv's are stitched at midpoint instead of at static island");
|
||||
RNA_def_float(ot->srna, "limit", 0.01f, 0.0f, FLT_MAX, "Limit",
|
||||
"Limit distance in normalized coordinates", 0.0, FLT_MAX);
|
||||
RNA_def_int(ot->srna, "static_island", 0, 0, INT_MAX, "Static Island",
|
||||
"Island that stays in place when stitching islands", 0, INT_MAX);
|
||||
RNA_def_boolean(ot->srna, "midpoint_snap", 0, "Snap At Midpoint",
|
||||
"UVs are stitched at midpoint instead of at static island");
|
||||
prop = RNA_def_collection_runtime(ot->srna, "selection", &RNA_SelectedUvElement, "Selection", "");
|
||||
/* Selection should not be editable or viewed in toolbar */
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||
|
@ -1204,8 +1204,10 @@ void UV_OT_unwrap(wmOperatorType *ot)
|
||||
"Virtual fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry");
|
||||
RNA_def_boolean(ot->srna, "correct_aspect", 1, "Correct Aspect",
|
||||
"Map UVs taking image aspect ratio into account");
|
||||
RNA_def_boolean(ot->srna, "use_subsurf_data", 0, "Use Subsurf Data", "Map UV's taking vertex position after subsurf into account");
|
||||
RNA_def_int(ot->srna, "uv_subsurf_level", 1, 1, 6, "SubSurf Target", "Number of times to subdivide before calculating UV's", 1, 6);
|
||||
RNA_def_boolean(ot->srna, "use_subsurf_data", 0, "Use Subsurf Data",
|
||||
"Map UVs taking vertex position after subsurf into account");
|
||||
RNA_def_int(ot->srna, "uv_subsurf_level", 1, 1, 6, "SubSurf Target",
|
||||
"Number of times to subdivide before calculating UVs", 1, 6);
|
||||
}
|
||||
|
||||
/**************** Project From View operator **************/
|
||||
|
@ -292,7 +292,9 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "vel_damping", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "vel_damping");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Velocity Damping", "Damp velocity to help cloth reach the resting position faster. [1.0 = no damping, 0.0 = fully dampened]");
|
||||
RNA_def_property_ui_text(prop, "Velocity Damping",
|
||||
"Damp velocity to help cloth reach the resting position faster "
|
||||
"(1.0 = no damping, 0.0 = fully dampened)");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_pin_cloth", PROP_BOOLEAN, PROP_NONE);
|
||||
|
@ -1457,13 +1457,13 @@ static void rna_def_tool_settings(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "use_uv_sculpt", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "use_uv_sculpt", 1);
|
||||
RNA_def_property_ui_text(prop, "UV Sculpt", "Enable brush for uv sculpting");
|
||||
RNA_def_property_ui_text(prop, "UV Sculpt", "Enable brush for UV sculpting");
|
||||
RNA_def_property_ui_icon(prop, ICON_TPAINT_HLT, 0);
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, "rna_SpaceImageEditor_uv_sculpt_update");
|
||||
|
||||
prop= RNA_def_property(srna, "uv_sculpt_lock_borders", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "uv_sculpt_settings", UV_SCULPT_LOCK_BORDERS);
|
||||
RNA_def_property_ui_text(prop, "Lock Borders", "Disables editing of boundary edges");
|
||||
RNA_def_property_ui_text(prop, "Lock Borders", "Disable editing of boundary edges");
|
||||
|
||||
prop= RNA_def_property(srna, "uv_sculpt_all_islands", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "uv_sculpt_settings", UV_SCULPT_ALL_ISLANDS);
|
||||
@ -3722,7 +3722,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "use_simplify_triangulate", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "simplify_flag", R_SIMPLE_NO_TRIANGULATE);
|
||||
RNA_def_property_ui_text(prop, "Skip Quad to Triangles", "Disables non-planer quads being triangulated");
|
||||
RNA_def_property_ui_text(prop, "Skip Quad to Triangles", "Disable non-planer quads being triangulated");
|
||||
|
||||
/* Scene API */
|
||||
RNA_api_scene_render(srna);
|
||||
@ -3896,7 +3896,7 @@ static void rna_def_selected_uv_element(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "SelectedUvElement", "PropertyGroup");
|
||||
RNA_def_struct_ui_text(srna, "Selected Uv Element", "");
|
||||
RNA_def_struct_ui_text(srna, "Selected UV Element", "");
|
||||
|
||||
/* store the index to the UV element selected */
|
||||
prop= RNA_def_property(srna, "element_index", PROP_INT, PROP_UNSIGNED);
|
||||
|
Loading…
Reference in New Issue
Block a user