Blender Git Commit Log

Git Commits -> Revision 6ec3656

Revision 6ec3656 by Lukas Toenne (gooseberry, openvdb)
June 9, 2015, 10:03 (GMT)
Generalized node function for mapping existing inputs/outputs on a
dynamically changing socket layout.

This is used for a couple of nodes which create a custom set of inputs
or outputs based on internal data (e.g. image or cache files with
arbitrary data layers). The task is to take existing connections to the
node and relink them to the new socket layout, usually based on socket
names. This keeps node trees working as much as possible even when the
user changes the node.

Multilayer image nodes were already doing this, now OpenVDB shader nodes
can share the same function. If it can be represented in the RNA, the
OSL script node might use the same method (currently not feasible due
to callbacks).

Commit Details:

Full Hash: 6ec3656e9784695b8a90ea0926fe601ef31fab65
Parent Commit: 77246e2
Lines Changed: +99, -113

4 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+86, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+2, -73) (Diff)
/source/blender/nodes/shader/nodes/node_shader_openvdb.c (+3, -40) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021