Blender Git Commit Log
Git Commits -> Revision cb205b7
Revision cb205b7 by Hans Goudey (temp-geometry-nodes-attribute-search) February 24, 2021, 20:14 (GMT) |
UI: Add an option to search buttons to allow any string input For geometry nodes we will use search buttons to display a list of attributes available the last time the node tree was executed (D10519). Because this list is just a hint, we need to be able to enter any string, not just strings from the search items. This patch adds a boolean option to string buttons to enable this. The change is quite simple, changes to behavior are only required in two places. The type-specific button struct changes help a lot here. Differential Revision: https://developer.blender.org/D10527 |
Commit Details:
Full Hash: cb205b76821f0a4cb7cffddbec76f6db12e3fd74
Parent Commit: a50f6bc
Lines Changed: +27, -7
5 Modified Paths:
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+8, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+4, -1) (Diff)
/source/blender/editors/interface/interface_intern.h (+6, -0) (Diff)
/source/blender/editors/interface/interface_region_search.c (+8, -6) (Diff)
/source/blender/editors/interface/interface.c (+8, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+4, -1) (Diff)
/source/blender/editors/interface/interface_intern.h (+6, -0) (Diff)
/source/blender/editors/interface/interface_region_search.c (+8, -6) (Diff)