Commit: cc1201dce398417d5fcc9a64ebdad97599d38a21
Author: Hans Goudey
Date:   Wed Jul 22 12:09:54 2020 -0400
Branches: property-search-ui
https://developer.blender.org/rBcc1201dce398417d5fcc9a64ebdad97599d38a21

Property Search: Improve debug printing

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

M       source/blender/editors/space_buttons/space_buttons.c

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

diff --git a/source/blender/editors/space_buttons/space_buttons.c 
b/source/blender/editors/space_buttons/space_buttons.c
index 57d67e2acb6..74aad9c125e 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -343,7 +343,11 @@ static void property_search_other_tabs(const bContext *C,
     UI_blocklist_free(C_copy, &region_copy->uiblocks);
   }
 
+  printf("\nPROPERTY_SEARCH_OTHER_TABS\n");
   for (int i = 0; i < tabs_tot; i++) {
+    if (context_tabs_array[i] == -1) {
+      printf("- - -\n");
+    }
     printf("tab value: %d, unfiltered: %s\n",
            context_tabs_array[i],
            (sbuts->context_search_filter_active & (1 << i)) ? "true" : "else");

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

Reply via email to