From d7c2b78822ff20fb78418c43d6badd692fa98784 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 3 Jun 2018 13:32:36 +0200 Subject: UI: add subpanel support. In the Python API, any panel becomes a subpanel by setting bl_parent_id to the name of the parent panel. These subpanels can contain advanced or less commonly used settings. --- source/blender/editors/interface/interface.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/blender/editors/interface/interface.c') diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index a9995001659..6cb667cb9a8 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -2814,11 +2814,6 @@ uiBlock *UI_block_begin(const bContext *C, ARegion *region, const char *name, sh return block; } -uiBlock *UI_block_find_in_region(const char *name, ARegion *ar) -{ - return BLI_findstring(&ar->uiblocks, name, offsetof(uiBlock, name)); -} - void UI_block_emboss_set(uiBlock *block, char dt) { block->dt = dt; -- cgit v1.2.3