Blender Git Loki

Git Commits -> Revision 2a5c0c3

Revision 2a5c0c3 by Jacques Lucke (master)
April 1, 2021, 11:10 (GMT)
Geometry Nodes: add socket value logging capability

The node tree evaluator now calls a callback for every used socket with
its corresponding value(s). Right now the callback does nothing.
However, we can use it to collect attribute name hints, socket values
for debugging or data that will be displayed in the spreadsheet.

The main difficulty here was to also call the callback for sockets in
nodes that are not directly executed (such as group nodes, muted
nodes and reroutes).

No functional changes are expected.

Commit Details:

Full Hash: 2a5c0c34914cc89efb8816edba2cf62a6299a6c1
Parent Commit: 328b393
Lines Changed: +162, -66

5 Modified Paths:

/source/blender/modifiers/intern/MOD_nodes.cc (+45, -7) (Diff)
/source/blender/nodes/intern/derived_node_tree.cc (+25, -15) (Diff)
/source/blender/nodes/intern/node_tree_ref.cc (+56, -34) (Diff)
/source/blender/nodes/NOD_derived_node_tree.hh (+18, -2) (Diff)
/source/blender/nodes/NOD_node_tree_ref.hh (+18, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021