Blender Git Loki
Git Commits -> Revision a05012d
Revision a05012d by Jacques Lucke (attribute-accessor, geometry-nodes, geometry-nodes-active-modifier-drawing, geometry-nodes-attribute-nodes, geometry-nodes-boolean-node, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, geometry-nodes-transform-node, temp-geometry-nodes-distribute-points-cleanup, temp-modifiers-instancing) 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)
/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)
/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)