[Bf-blender-cvs] [62458d7ee69] temp-geometry-nodes-attribute-search: Attribute Search: Remove more debug prints
Hans Goudey
noreply at git.blender.org
Tue Feb 23 23:35:05 CET 2021
Commit: 62458d7ee69d4dfee9c226f08d6bde6d65338b13
Author: Hans Goudey
Date: Tue Feb 23 16:14:54 2021 -0600
Branches: temp-geometry-nodes-attribute-search
https://developer.blender.org/rB62458d7ee69d4dfee9c226f08d6bde6d65338b13
Attribute Search: Remove more debug prints
===================================================================
M source/blender/editors/interface/interface.c
===================================================================
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 4330d10b3a1..6e25ec9d275 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -819,7 +819,6 @@ static void ui_but_update_old_active_from_new(uiBut *oldbut, uiBut *but)
SWAP(ListBase, but->extra_op_icons, oldbut->extra_op_icons);
if (oldbut->type == UI_BTYPE_SEARCH_MENU) {
- printf("MOVING OLD SEARCHBUT TO NEW SEARCHBUT\n");
uiButSearch *search_oldbut = (uiButSearch *)oldbut, *search_but = (uiButSearch *)but;
SWAP(uiButSearchArgFreeFn, search_oldbut->arg_free_fn, search_but->arg_free_fn);
@@ -875,10 +874,6 @@ static bool ui_but_update_from_old_block(const bContext *C,
uiBlock *oldblock = block->oldblock;
uiBut *but = *but_p;
- if (but->type == UI_BTYPE_SEARCH_MENU) {
- printf("UPDATING SEARCH MENU BUTTON FROM OLD BLOCK\n");
- }
-
#if 0
/* Simple method - search every time. Keep this for easy testing of the "fast path." */
uiBut *oldbut = ui_but_find_old(oldblock, but);
More information about the Bf-blender-cvs
mailing list