[Bf-blender-cvs] [d730940fdb9] blender-v3.3-release: Fix: Store named attribute node incorrect link drag search
Hans Goudey
noreply at git.blender.org
Thu Aug 4 17:47:37 CEST 2022
Commit: d730940fdb900dbb25b8b0ff0801f73348be82c9
Author: Hans Goudey
Date: Thu Aug 4 10:47:31 2022 -0500
Branches: blender-v3.3-release
https://developer.blender.org/rBd730940fdb900dbb25b8b0ff0801f73348be82c9
Fix: Store named attribute node incorrect link drag search
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_store_named_attribute.cc
===================================================================
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) {
More information about the Bf-blender-cvs
mailing list