diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-05-12 02:42:42 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-05-12 02:47:55 +0300 |
commit | c20c203b82260c06888c2a535c08ec383923ee8a (patch) | |
tree | bc6dba9408a4c37d2105c9a91f4dd5d29f077424 /source/blender/draw/intern/draw_armature.c | |
parent | c8ab7d46566c4a65c6176cd2ebe27778512f7fef (diff) |
UI: Add template_search (version of template_ID for non-IDs)
Adds a version of template_ID that can be used for non-ID properties.
The property to search for and the collection to search in has to be
passed to it.
Like template_ID it also takes arguments to define a 'new' and 'unlink'
operator. They will be displayed as icon-only buttons then.
Also added a version that can display preview thumbnails.
Had to do some additional changes to make text-buttons support
displaying/modifying empty RNA properties.
This will be needed for workspaces, see D2451.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D2666
Diffstat (limited to 'source/blender/draw/intern/draw_armature.c')
0 files changed, 0 insertions, 0 deletions