Blender Git Commit Log

Git Commits -> Revision 85421c4

Revision 85421c4 by Hans Goudey (master)
March 2, 2021, 19:01 (GMT)
Geometry Nodes: Attribute search drop-down

This commit adds a search for existing attributes when you click
on an attribute field. This is useful because otherwise you have
to remember which attributes should be available at each node in
the tree.

The fundamental complication is that this information is not
accessible statically. So the search data is only a cache from
the previous node tree evaluation. The information is added
with `BKE_nodetree_attribute_hint_add`, currently for every
input geometry socket for a single node.

This is only an initial implementation, and later versions will
expose the data type and domain of the attributes.

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

Commit Details:

Full Hash: 85421c4fab029ccb0747338715b95910e82229f9
Parent Commit: a344f20
Lines Changed: +169, -1

1 Added Path:

/source/blender/editors/space_node/node_geometry_attribute_search.cc (+151, -0) (View)

3 Modified Paths:

/source/blender/editors/space_node/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+9, -1) (Diff)
/source/blender/editors/space_node/node_intern.h (+8, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021