From 83d78eb32ccfc3a2d6f429dc51961f052aca9a53 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 7 Feb 2019 09:38:49 +0100 Subject: Close metadata panels by default They might be rather long, and not that commonly accessed. --- source/blender/editors/space_image/image_buttons.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_image') diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 1a7e81f55aa..1cc596b14ce 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -1297,6 +1297,7 @@ void image_buttons_register(ARegionType *art) strcpy(pt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA); pt->poll = metadata_panel_context_poll; pt->draw = metadata_panel_context_draw; + pt->flag |= PNL_DEFAULT_CLOSED; BLI_addtail(&art->paneltypes, pt); } -- cgit v1.2.3