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:
authorErik Abrahamsson <erik85>2020-11-26 00:37:33 +0300
committerHans Goudey <h.goudey@me.com>2020-11-26 00:37:33 +0300
commitf7223d5f722ac430041a748248b45c8590c3ffad (patch)
treec07aafdfbc7086a68779e983d680e44118605a0c /source/blender/blenloader/intern/versioning_userdef.c
parent05c4efc9b1993f4d11a7d749fe4a9e9d80cc1f2e (diff)
UI: Allow theming the alternate row color in the sequencer
Previously, the alternate row color in the Video Sequence Editor was just a shaded version of the editor's background color. This makes it theme-able just like in the file browser and outliner, although the default color is very slightly different. Differential Revision: https://developer.blender.org/D9634
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index 5aa0e46aa46..d9940cc809f 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -260,6 +260,7 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
for (int i = 0; i < COLLECTION_COLOR_TOT; ++i) {
FROM_DEFAULT_V4_UCHAR(collection_color[i].color);
}
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.row_alternate);
}
#undef FROM_DEFAULT_V4_UCHAR