Commit: 263e42a17292f93f6c6e054d9c8149a000d43ea8
Author: Hans Goudey
Date:   Tue Jun 30 11:42:44 2020 -0400
Branches: property-search-ui
https://developer.blender.org/rB263e42a17292f93f6c6e054d9c8149a000d43ea8

Property Search: Filter panel names without case sensitivity

===================================================================

M       source/blender/editors/interface/interface_layout.c

===================================================================

diff --git a/source/blender/editors/interface/interface_layout.c 
b/source/blender/editors/interface/interface_layout.c
index aa5e5739083..e831840c055 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -5446,7 +5446,7 @@ static bool ui_block_search_layout(uiBlock *block)
   /* Also search based on panel labels. */
   bool panel_label_matches = false;
   if ((block->panel != NULL) && (block->panel->type != NULL)) {
-    if (strstr(block->panel->type->label, block->search_filter)) {
+    if (BLI_strcasestr(block->panel->type->label, block->search_filter)) {
       panel_label_matches = true;
     }
   }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to