[Bf-blender-cvs] [b5ec14af686] modifier-panels-ui: Remove unecessary changes
Hans Goudey
noreply at git.blender.org
Mon Mar 30 22:53:26 CEST 2020
Commit: b5ec14af686b7899d50b2a89bbf04506385d1515
Author: Hans Goudey
Date: Mon Mar 30 15:24:00 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rBb5ec14af686b7899d50b2a89bbf04506385d1515
Remove unecessary changes
===================================================================
M source/blender/editors/interface/interface.c
===================================================================
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 1a0bacde56f..10dfae38e3d 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -3303,29 +3303,13 @@ void UI_blocklist_free(const bContext *C, ListBase *lb)
void UI_blocklist_free_inactive(const bContext *C, ARegion *region)
{
- printf("UI_BLOCKLIST_FREE_INACTIVE\n");
uiBlock *block, *nextblock;
for (block = region->uiblocks.first; block; block = nextblock) {
nextblock = block->next;
- Panel *panel = block->panel;
- if (panel != NULL && panel->type->flag & PANELTYPE_RECREATE) {
- printf(" Recreate panel found: %s\n", panel->panelname);
- }
if (!block->handle) {
- if (panel != NULL && panel->type->flag & PANELTYPE_RECREATE) {
- printf(" No block handle\n");
- }
if (!block->active) {
- if (panel != NULL && panel->type->flag & PANELTYPE_RECREATE) {
- printf(" Block not active\n");
- }
- /* Remove recreate panels as well. */
- if (panel != NULL && panel->type->flag & PANELTYPE_RECREATE) {
- UI_panel_delete(®ion->panels, panel);
- }
-
BLI_remlink(®ion->uiblocks, block);
UI_block_free(C, block);
}
More information about the Bf-blender-cvs
mailing list