Blender Git Loki

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:

Commit Details:

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

1 Added Path:

/source/blender/editors/space_node/ (+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