diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-04 18:47:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-04 18:47:31 +0300 |
commit | d730940fdb900dbb25b8b0ff0801f73348be82c9 (patch) | |
tree | ac8a84228d11d0176221fb57c0fd52f47d955c8e | |
parent | aa53eca6b5984f94b8ab151492355d448abf7d86 (diff) |
Fix: Store named attribute node incorrect link drag search
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_store_named_attribute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_store_named_attribute.cc b/source/blender/nodes/geometry/nodes/node_geo_store_named_attribute.cc index 1d3beb8be96..70c33ad6a96 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_store_named_attribute.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_store_named_attribute.cc @@ -72,7 +72,7 @@ static void node_gather_link_searches(GatherLinkSearchOpParams ¶ms) const NodeDeclaration &declaration = *params.node_type().fixed_declaration; search_link_ops_for_declarations(params, declaration.inputs().take_front(2)); - if (params.in_out() == SOCK_OUT) { + if (params.in_out() == SOCK_IN) { const std::optional<eCustomDataType> type = node_data_type_to_custom_data_type( static_cast<eNodeSocketDatatype>(params.other_socket().type)); if (type && *type != CD_PROP_STRING) { |