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:
authorRichard Antalik <richardantalik@gmail.com>2021-10-16 00:35:49 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-10-16 00:42:26 +0300
commit73fbd3eebd3f47311785a488dfdeb7353ca10563 (patch)
tree34b8e6d0f370e6d90c450b121c897d0f3537a46b /source/blender/blenloader/intern
parent41dc55874742e8ee9d1361d729bec25514e1e3ae (diff)
VSE: Hide tool header by default
Tools currently used by VSE don't have much useful settings, but they use a lot of space. Therefore these headers will be hidden by default. Property `show_region_tool_header` was added to view menu to enable tool settings. This could be resolved by region overlap, but it isn't working well currently. Differential Revision: https://developer.blender.org/D12875
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/versioning_defaults.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index c383c1cc4e5..2dcb2c35b22 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -208,7 +208,8 @@ static void blo_update_defaults_screen(bScreen *screen,
LISTBASE_FOREACH (ARegion *, region, regionbase) {
if (region->regiontype == RGN_TYPE_TOOL_HEADER) {
- if ((sl->spacetype == SPACE_IMAGE) && hide_image_tool_header) {
+ if (((sl->spacetype == SPACE_IMAGE) && hide_image_tool_header) ||
+ sl->spacetype == SPACE_SEQ) {
region->flag |= RGN_FLAG_HIDDEN;
}
else {