diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-23 15:55:05 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-23 15:55:48 +0300 |
commit | ffb6cc263fe13e6cc75561b5dc8850f1d31faf0f (patch) | |
tree | eb8414a7f0ade61743ce23fadcb4b81d1adf93d0 /source/blender/nodes | |
parent | 65870821da69ebdf38c407a9a583b90c0693393a (diff) |
Cleanup: format
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_math.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_math.cc b/source/blender/nodes/shader/nodes/node_shader_math.cc index beacde899c3..73ee6fb3f85 100644 --- a/source/blender/nodes/shader/nodes/node_shader_math.cc +++ b/source/blender/nodes/shader/nodes/node_shader_math.cc @@ -61,8 +61,9 @@ static void sh_node_math_gather_link_searches(GatherLinkSearchOpParams ¶ms) ELEM(item->value, NODE_MATH_COMPARE, NODE_MATH_GREATER_THAN, NODE_MATH_LESS_THAN)) ? -1 : weight; - params.add_item( - CTX_IFACE_(BLT_I18NCONTEXT_ID_NODETREE, item->name), SocketSearchOp{"Value", (NodeMathOperation)item->value}, gn_weight); + params.add_item(CTX_IFACE_(BLT_I18NCONTEXT_ID_NODETREE, item->name), + SocketSearchOp{"Value", (NodeMathOperation)item->value}, + gn_weight); } } } |