From 7987c663d9a166b5d8a6170ce8dadbe883407cdc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 20 Mar 2024 14:38:50 +1100 Subject: [PATCH] Fix #114667: UI List search broken when class names >32 chars The list identifier includes the class name and an list_id, see: WM_uilisttype_to_full_list_id This requires using UI_MAX_NAME_STR (as noted in doc-string). --- source/blender/makesdna/DNA_screen_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 71d4d52b3cf..2436ed58d58 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -295,7 +295,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */ struct uiListType *type; /** Defined as UI_MAX_NAME_STR. */ - char list_id[64]; + char list_id[128]; /** How items are laid out in the list. */ int layout_type; @@ -308,7 +308,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */ /* Filtering data. */ /** Defined as UI_MAX_NAME_STR. */ - char filter_byname[64]; + char filter_byname[128]; int filter_flag; int filter_sort_flag;