Blender Git Commit Log

Git Commits -> Revision a05012d

October 22, 2020, 16:08 (GMT)
Geometry Nodes: simplify and deduplicate callbacks on sockets

This adds a layer of abstraction between the code calling callbacks
on sockets and the implementation of those callbacks.
This abstraction layer allows some sockets to not implement all
callbacks when those can be derived from some other callback.

Commit Details:

Full Hash: a05012d50066c397e83ebe67631875df69860d6b
Parent Commit: 97a9356
Lines Changed: +176, -110

2 Added Paths:

/source/blender/nodes/intern/type_callbacks.cc (+77, -0) (View)
/source/blender/nodes/NOD_type_callbacks.hh (+36, -0) (View)

6 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+11, -6) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+5, -38) (Diff)
/source/blender/nodes/CMakeLists.txt (+2, -0) (Diff)
/source/blender/nodes/intern/node_socket.cc (+27, -30) (Diff)
/source/blender/nodes/intern/node_tree_multi_function.cc (+11, -25) (Diff)
/source/blender/nodes/NOD_node_tree_multi_function.hh (+7, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021