Blender Git Loki

Git Commits -> Revision 5d42e77

March 3, 2021, 17:15 (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: 5d42e77bb2cf1310b007bc2d7ce85f6b29828465
Parent Commit: 89fa444
Committed By: Julian Eisel
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021