Fix T68623: bpy.types.UI_UL_list.filter_items_by_name is case sensitive.
Was a mismatch with default behavior from C-defined basic UI list...
This commit is contained in:
@@ -201,7 +201,7 @@ class UI_UL_list(bpy.types.UIList):
|
||||
for i, item in enumerate(items):
|
||||
name = getattr(item, propname, None)
|
||||
# This is similar to a logical xor
|
||||
if bool(name and fnmatch.fnmatchcase(name, pattern)) is not bool(reverse):
|
||||
if bool(name and fnmatch.fnmatch(name, pattern)) is not bool(reverse):
|
||||
flags[i] |= bitflag
|
||||
return flags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user