Blender Git Loki

Git Commits -> Revision 1d96a48

Revision 1d96a48 by Hans Goudey (master)
October 21, 2021, 18:54 (GMT)
Geometry Nodes: Attribute search in the modifier

This adds attribute search to the geometry nodes modifier
for the input and output attributes. The "New" search item
is only shown for the output attributes.

Some of the attribute search code is extracted to a new file
in the interface code, to avoid some code duplication.

The UI code required two fixes so that the search would work
for dynamic length strings (IDProperties do not have a fixed size).

Since this does changes to the UI layout of the modifier, I also
addressed T91485 here.

Differential Revisiion: https://developer.blender.org/D12788

Commit Details:

Full Hash: 1d96a482675dd2ccad2af31c274f74b9f6603d6b
Parent Commit: 65490e6
Lines Changed: +362, -114

1 Added Path:

/source/blender/editors/interface/interface_template_attribute_search.cc (+125, -0) (View)

7 Modified Paths:

/source/blender/editors/include/UI_interface.hh (+13, -1) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+3, -0) (Diff)
/source/blender/editors/interface/interface_region_search.c (+8, -3) (Diff)
/source/blender/editors/space_node/node_geometry_attribute_search.cc (+2, -76) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+178, -33) (Diff)
/source/blender/nodes/intern/geometry_nodes_eval_log.cc (+11, -0) (Diff)
/source/blender/nodes/NOD_geometry_nodes_eval_log.hh (+22, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021