Blender Git Commit Log

Git Commits -> Revision 4e78b89

Revision 4e78b89 by Jacques Lucke (master)
September 11, 2021, 11:05 (GMT)
Geometry Nodes: add field support for socket inspection

Since fields were committed to master, socket inspection did
not work correctly for all socket types anymore. Now the same
functionality as before is back. Furthermore, fields that depend
on some input will now show the inputs in the socket inspection.

I added support for evaluating constant fields more immediately.
This has the benefit that the same constant field is not evaluated
more than once. It also helps with making the field independent
of the multi-functions that it uses. We might still want to change
the ownership handling for the multi-functions of nodes a bit,
but that can be done separately.

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

Commit Details:

Full Hash: 4e78b89e487e9b9707d583c6b2578ad122c59d5e
Parent Commit: 166c8be
Lines Changed: +237, -42

9 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.hh (+9, -0) (Diff)
/source/blender/blenkernel/intern/attribute_access.cc (+16, -0) (Diff)
/source/blender/editors/space_node/node_draw.cc (+65, -18) (Diff)
/source/blender/functions/FN_field.hh (+44, -15) (Diff)
/source/blender/functions/FN_multi_function_builder.hh (+5, -2) (Diff)
/source/blender/functions/intern/field.cc (+72, -0) (Diff)
/source/blender/functions/intern/multi_function_builder.cc (+19, -2) (Diff)
/source/blender/functions/tests/FN_multi_function_test.cc (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_nodes_evaluator.cc (+6, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021