diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-08-31 16:20:45 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-08-31 16:20:45 +0300 |
commit | 310a43bcac9cb7e2e60b02f555f18698a98b7d2c (patch) | |
tree | c59dd07083409cb1f1ddfa9c079f5f6da1b89eb5 /source/blender | |
parent | ac20970bc208aef6257b16e129f08dcbe892869d (diff) |
Cleanup: Resolve unused-lambda-capture warning
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_mix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_mix.cc b/source/blender/nodes/shader/nodes/node_shader_mix.cc index 918d9b747d5..f785e32832e 100644 --- a/source/blender/nodes/shader/nodes/node_shader_mix.cc +++ b/source/blender/nodes/shader/nodes/node_shader_mix.cc @@ -139,7 +139,7 @@ static void node_mix_gather_link_searches(GatherLinkSearchOpParams ¶ms) } else { if (ELEM(sock_type, SOCK_VECTOR, SOCK_RGBA)) { - params.add_item(IFACE_("Factor (Non-Uniform)"), [type](LinkSearchOpParams ¶ms) { + params.add_item(IFACE_("Factor (Non-Uniform)"), [](LinkSearchOpParams ¶ms) { bNode &node = params.add_node("ShaderNodeMix"); node_storage(node).data_type = SOCK_VECTOR; node_storage(node).factor_mode = NODE_MIX_MODE_NON_UNIFORM; |