forked from bartvdbraak/blender
Follow-up to the previous fix for T37452: More descriptive tooltips for freestyles settings
Made additional tool tips revisions suggested by a comment to T37452.
This commit is contained in:
parent
ece64c7ffd
commit
f6da871d9d
@ -953,7 +953,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
|
|||||||
prop = RNA_def_property(srna, "alpha", PROP_FLOAT, PROP_FACTOR);
|
prop = RNA_def_property(srna, "alpha", PROP_FLOAT, PROP_FACTOR);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "alpha");
|
RNA_def_property_float_sdna(prop, NULL, "alpha");
|
||||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||||
RNA_def_property_ui_text(prop, "Alpha",
|
RNA_def_property_ui_text(prop, "Alpha Transparency",
|
||||||
"Base alpha transparency, possibly modified by alpha transparency modifiers");
|
"Base alpha transparency, possibly modified by alpha transparency modifiers");
|
||||||
RNA_def_property_update(prop, NC_LINESTYLE, NULL);
|
RNA_def_property_update(prop, NC_LINESTYLE, NULL);
|
||||||
|
|
||||||
@ -1001,7 +1001,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
|
|||||||
prop = RNA_def_property(srna, "chaining", PROP_ENUM, PROP_NONE);
|
prop = RNA_def_property(srna, "chaining", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "chaining");
|
RNA_def_property_enum_sdna(prop, NULL, "chaining");
|
||||||
RNA_def_property_enum_items(prop, chaining_items);
|
RNA_def_property_enum_items(prop, chaining_items);
|
||||||
RNA_def_property_ui_text(prop, "Chaining", "Select the way how feature edges are jointed to form chains");
|
RNA_def_property_ui_text(prop, "Chaining Method", "Select the way how feature edges are jointed to form chains");
|
||||||
RNA_def_property_update(prop, NC_LINESTYLE, NULL);
|
RNA_def_property_update(prop, NC_LINESTYLE, NULL);
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "rounds", PROP_INT, PROP_UNSIGNED);
|
prop = RNA_def_property(srna, "rounds", PROP_INT, PROP_UNSIGNED);
|
||||||
@ -1154,7 +1154,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
|
|||||||
prop = RNA_def_property(srna, "caps", PROP_ENUM, PROP_NONE);
|
prop = RNA_def_property(srna, "caps", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "caps");
|
RNA_def_property_enum_bitflag_sdna(prop, NULL, "caps");
|
||||||
RNA_def_property_enum_items(prop, cap_items);
|
RNA_def_property_enum_items(prop, cap_items);
|
||||||
RNA_def_property_ui_text(prop, "Cap", "Select the shape of both ends of strokes");
|
RNA_def_property_ui_text(prop, "Caps", "Select the shape of both ends of strokes");
|
||||||
RNA_def_property_update(prop, NC_LINESTYLE, NULL);
|
RNA_def_property_update(prop, NC_LINESTYLE, NULL);
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "dash1", PROP_INT, PROP_UNSIGNED);
|
prop = RNA_def_property(srna, "dash1", PROP_INT, PROP_UNSIGNED);
|
||||||
|
@ -2654,9 +2654,9 @@ static void rna_def_freestyle_settings(BlenderRNA *brna)
|
|||||||
};
|
};
|
||||||
|
|
||||||
static EnumPropertyItem face_mark_condition_items[] = {
|
static EnumPropertyItem face_mark_condition_items[] = {
|
||||||
{0, "ONE", 0, "One Face", "Select feature edges if one of faces on the right and left has a face mark"},
|
{0, "ONE", 0, "One Face", "Select a feature edge if either of its adjacent faces is marked"},
|
||||||
{FREESTYLE_LINESET_FM_BOTH, "BOTH", 0, "Both Faces",
|
{FREESTYLE_LINESET_FM_BOTH, "BOTH", 0, "Both Faces",
|
||||||
"Select feature edges if both faces on the right and left faces have a face mark"},
|
"Select a feature edge if both of its adjacent faces are marked"},
|
||||||
{0, NULL, 0, NULL, NULL}
|
{0, NULL, 0, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user