[Bf-blender-cvs] [cc1201dce39] property-search-ui: Property Search: Improve debug printing
Hans Goudey
noreply at git.blender.org
Wed Jul 22 18:10:09 CEST 2020
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, ®ion_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");
More information about the Bf-blender-cvs
mailing list