[Bf-blender-cvs] [e9344d329ff] master: Fix: Add missing drag link search item for store named attribute node

Hans Goudey noreply at git.blender.org
Thu Sep 22 23:54:32 CEST 2022


Commit: e9344d329ffa93f2df0e20f727f478e70e4294cc
Author: Hans Goudey
Date:   Thu Sep 22 16:54:04 2022 -0500
Branches: master
https://developer.blender.org/rBe9344d329ffa93f2df0e20f727f478e70e4294cc

Fix: Add missing drag link search item for store named attribute node

The search didn't add an item for the geometry output socket.

===================================================================

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 ad31c8a2191..37e55602fb0 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
@@ -71,6 +71,7 @@ static void node_gather_link_searches(GatherLinkSearchOpParams &params)
 {
   const NodeDeclaration &declaration = *params.node_type().fixed_declaration;
   search_link_ops_for_declarations(params, declaration.inputs().take_front(2));
+  search_link_ops_for_declarations(params, declaration.outputs().take_front(1));
 
   if (params.in_out() == SOCK_IN) {
     const std::optional<eCustomDataType> type = node_data_type_to_custom_data_type(



More information about the Bf-blender-cvs mailing list