[Bf-blender-cvs] [96feddd85f0] geometry-nodes-point-separate-node: Use text for comparison RNA enum items

Hans Goudey noreply at git.blender.org
Wed Dec 9 16:43:43 CET 2020


Commit: 96feddd85f02c4996f3a4193e456f1d9c4d846ec
Author: Hans Goudey
Date:   Wed Dec 9 09:00:24 2020 -0600
Branches: geometry-nodes-point-separate-node
https://developer.blender.org/rB96feddd85f02c4996f3a4193e456f1d9c4d846ec

Use text for comparison RNA enum items

===================================================================

M	source/blender/makesrna/intern/rna_nodetree.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index ff238e959eb..96562805368 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -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},
 };



More information about the Bf-blender-cvs mailing list