UI: Replace uses of "loc/rot" with full words
Use "Rotation" in place of "Rot" for the rotation header text. Cleanup various RNA titles and tooltips. Differential Revision: https://developer.blender.org/D9457
This commit is contained in:
parent
eca8cd8449
commit
f45d79f180
|
@ -532,13 +532,17 @@ void headerRotation(TransInfo *t, char str[UI_MAX_DRAW_STR], float final)
|
|||
|
||||
outputNumInput(&(t->num), c, &t->scene->unit);
|
||||
|
||||
ofs += BLI_snprintf(
|
||||
str + ofs, UI_MAX_DRAW_STR - ofs, TIP_("Rot: %s %s %s"), &c[0], t->con.text, t->proptext);
|
||||
ofs += BLI_snprintf(str + ofs,
|
||||
UI_MAX_DRAW_STR - ofs,
|
||||
TIP_("Rotation: %s %s %s"),
|
||||
&c[0],
|
||||
t->con.text,
|
||||
t->proptext);
|
||||
}
|
||||
else {
|
||||
ofs += BLI_snprintf(str + ofs,
|
||||
UI_MAX_DRAW_STR - ofs,
|
||||
TIP_("Rot: %.2f%s %s"),
|
||||
TIP_("Rotation: %.2f%s %s"),
|
||||
RAD2DEGF(final),
|
||||
t->con.text,
|
||||
t->proptext);
|
||||
|
|
|
@ -1336,7 +1336,7 @@ static void rna_def_edit_bone(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Editbone Matrix",
|
||||
"Matrix combining loc/rot of the bone (head position, direction and roll), "
|
||||
"Matrix combining location and rotation of the bone (head position, direction and roll), "
|
||||
"in armature space (does not include/support bone's length/size)");
|
||||
RNA_def_property_float_funcs(prop, "rna_EditBone_matrix_get", "rna_EditBone_matrix_set", NULL);
|
||||
|
||||
|
|
|
@ -3453,7 +3453,7 @@ void RNA_def_constraint(BlenderRNA *brna)
|
|||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Rot error",
|
||||
"Rotation error",
|
||||
"Amount of residual error in radians for constraints that work on orientation");
|
||||
|
||||
RNA_define_lib_overridable(false);
|
||||
|
|
|
@ -2031,7 +2031,8 @@ static void rna_def_softbody(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "use_estimate_matrix", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "solverflags", SBSO_ESTIMATEIPO);
|
||||
RNA_def_property_ui_text(prop, "Estimate Matrix", "Estimate matrix... split to COM, ROT, SCALE");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Estimate Transforms", "Store the estimated transforms in the soft body settings");
|
||||
|
||||
/***********************************************************************************/
|
||||
/* these are not exactly settings, but reading calculated results*/
|
||||
|
@ -2047,7 +2048,7 @@ static void rna_def_softbody(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "rotation_estimate", PROP_FLOAT, PROP_MATRIX);
|
||||
RNA_def_property_float_sdna(prop, NULL, "lrot");
|
||||
RNA_def_property_multi_array(prop, 2, rna_matrix_dimsize_3x3);
|
||||
RNA_def_property_ui_text(prop, "Rot Matrix", "Estimated rotation matrix");
|
||||
RNA_def_property_ui_text(prop, "Rotation Matrix", "Estimated rotation matrix");
|
||||
|
||||
prop = RNA_def_property(srna, "scale_estimate", PROP_FLOAT, PROP_MATRIX);
|
||||
RNA_def_property_float_sdna(prop, NULL, "lscale");
|
||||
|
|
|
@ -1241,14 +1241,14 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "use_ik_rotation_control", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ikflag", BONE_IK_ROTCTL);
|
||||
RNA_def_property_ui_text(prop, "IK rot control", "Apply channel rotation as IK constraint");
|
||||
RNA_def_property_ui_text(prop, "IK Rotation Control", "Apply channel rotation as IK constraint");
|
||||
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_IK_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_ik_linear_control", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ikflag", BONE_IK_LINCTL);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "IK rot control", "Apply channel size as IK constraint if stretching is enabled");
|
||||
prop, "IK Linear Control", "Apply channel size as IK constraint if stretching is enabled");
|
||||
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_IK_update");
|
||||
|
||||
|
@ -1325,7 +1325,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "ik_rotation_weight", PROP_FLOAT, PROP_FACTOR);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ikrotweight");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "IK Rot Weight", "Weight of rotation constraint for IK");
|
||||
RNA_def_property_ui_text(prop, "IK Rotation Weight", "Weight of rotation constraint for IK");
|
||||
RNA_def_property_editable_func(prop, "rna_PoseChannel_proxy_editable");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_update");
|
||||
|
||||
|
|
|
@ -2794,7 +2794,7 @@ static void rna_def_view3d_cursor(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "matrix", PROP_FLOAT, PROP_MATRIX);
|
||||
RNA_def_property_multi_array(prop, 2, rna_matrix_dimsize_4x4);
|
||||
RNA_def_property_flag(prop, PROP_THICK_WRAP); /* no reference to original data */
|
||||
RNA_def_property_ui_text(prop, "Transform Matrix", "Matrix combining loc/rot of the cursor");
|
||||
RNA_def_property_ui_text(prop, "Transform Matrix", "Matrix combining location and rotation of the cursor");
|
||||
RNA_def_property_float_funcs(
|
||||
prop, "rna_View3DCursor_matrix_get", "rna_View3DCursor_matrix_set", NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue