Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-02-07 11:38:49 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-02-07 11:38:49 +0300
commit83d78eb32ccfc3a2d6f429dc51961f052aca9a53 (patch)
treee98f16f42ea9437940bfdbc3b633f55d76fb2d0e /source/blender/editors/space_image
parent9b86c90193973b1a6b3afad35af9a015a65dac45 (diff)
Close metadata panels by default
They might be rather long, and not that commonly accessed.
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/image_buttons.c1
1 files changed, 1 insertions, 0 deletions
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);
}