Blender Git Commit Log

Git Commits -> Revision ea6838e

Revision ea6838e by Philipp Oeser (temp-ui-tweaks)
September 22, 2021, 13:54 (GMT)
Fix T91461: Pose Library name filter not working

since `AssetHandle` does not have a `name_property`
(`RNA_def_struct_name_property`), and the UIList is just using the
default `uilist_filter_items_default` it simply cannot filter on names
(`RNA_struct_name_get_alloc` wont succeed).

Adding a name_property also wont work since `AssetHandle` inherits
`PropertyGroup` (which already sets name_property).

So this adds a (temporary) hack exception for RNA_AssetHandle in
uilist_filter_items_default until the design of `AssetHandle` progresses
further.

thx @Severin for additional feedback

Maniphest Tasks: T91461

Differential Revision: https://developer.blender.org/D12541

Commit Details:

Full Hash: ea6838ec6df70ac9b6dfe9359334f5f1740e1ea7
Parent Commit: d612181
Committed By: Pablo Vazquez
Lines Changed: +13, -1

1 Modified Path:

/source/blender/editors/interface/interface_template_list.cc (+13, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021