diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-25 18:51:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-25 18:51:20 +0300 |
commit | a18bd403bf3edb495ee0531600bbf3cf23d45e1c (patch) | |
tree | db920edc41550f3d86cb34f8b80ce06f021623ac /source/blender/makesdna | |
parent | 96667e33913e37e257ae444009c5f7bea57b0d72 (diff) |
Nodes: Improve link-drag search support for boolean math node
List the operations in the search instead of the "Boolean" socket names.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 34252715545..b154576df76 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -1927,7 +1927,7 @@ typedef enum NodeVectorMathOperation { } NodeVectorMathOperation; /** Boolean math node operations. */ -enum { +typedef enum NodeBooleanMathOperation { NODE_BOOLEAN_MATH_AND = 0, NODE_BOOLEAN_MATH_OR = 1, NODE_BOOLEAN_MATH_NOT = 2, @@ -1939,7 +1939,7 @@ enum { NODE_BOOLEAN_MATH_IMPLY = 7, NODE_BOOLEAN_MATH_NIMPLY = 8, -}; +} NodeBooleanMathOperation; /** Float compare node operations. */ typedef enum NodeCompareMode { |