Blender Git Commit Log

Git Commits -> Revision b986105

Revision b986105 by Hans Goudey (master)
December 18, 2021, 19:31 (GMT)
Fix: Link drag search missing field nodes from function nodes

When dragging from the inputs of function nodes, other function
nodes wouldn't connect, because their socket declaration field types
weren't set correctly. Instead, they relied on code properly checking
the *node* declaration's `is_function_node()` method. However,
that increases complexity and requires passing the node instead of
just the socket in more places. Instead, set the proper field types
in the socket declaration during building.

Differential Revision: https://developer.blender.org/D13600

Commit Details:

Full Hash: b9861055ade817a0059f39d57a351e005981975e
Parent Commit: d15d512
Lines Changed: +8, -1

1 Modified Path:

/source/blender/nodes/NOD_node_declaration.hh (+8, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021