UI: Use words instead of symbols for float comparison items

Though they are nice and concise, users should not be expected to know
the meaning of symbols like `!=`.
This commit is contained in:
Hans Goudey 2020-12-10 11:07:26 -06:00
parent 8bdd996cd0
commit a7fcca1062
1 changed files with 6 additions and 6 deletions

View File

@ -272,32 +272,32 @@ const EnumPropertyItem rna_enum_node_float_compare_items[] = {
{NODE_FLOAT_COMPARE_LESS_THAN,
"LESS_THAN",
0,
"A < B",
"Less Than",
"True when the first input is smaller than second input"},
{NODE_FLOAT_COMPARE_LESS_EQUAL,
"LESS_EQUAL",
0,
"A <= B",
"Less Than or Equal",
"True when the first input is smaller than the second input or equal"},
{NODE_FLOAT_COMPARE_GREATER_THAN,
"GREATER_THAN",
0,
"A > B",
"Greater Than",
"True when the first input is greater than the second input"},
{NODE_FLOAT_COMPARE_GREATER_EQUAL,
"GREATER_EQUAL",
0,
"A >= B",
"Greater Than or Equal",
"True when the first input is greater than the second input or equal"},
{NODE_FLOAT_COMPARE_EQUAL,
"EQUAL",
0,
"A = B",
"Equal",
"True when both inputs are approximately equal"},
{NODE_FLOAT_COMPARE_NOT_EQUAL,
"NOT_EQUAL",
0,
"A != B",
"Not Equal",
"True when both inputs are not approximately equal"},
{0, NULL, 0, NULL, NULL},
};