diff options
author | Hans Goudey <h.goudey@me.com> | 2020-06-02 22:04:46 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-06-02 22:04:46 +0300 |
commit | 7fc0053c27e5e9ba3cc946898c7c11a8545f2777 (patch) | |
tree | 2be364f15efc57df1d4df0028a89b41c118ca314 /source/blender/blenloader | |
parent | 52cc412e0f56f249d932e1025ea191939c1a6edb (diff) |
UI: Fix T77173: Report Background Colors for 2.83 Release
This is a temporary solution for T77173 for the 2.83 release. D7203
provides a more long term solution for future releases.
This adds theme colors for the three report backgrounds, setting them
to the color used in 2.82. A separate commit in the addons repository
will follow for changes to the bundled themes.
Differential Revision: https://developer.blender.org/D7908
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index a426e49dd77..abc2e00e9e3 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -216,6 +216,12 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme) btheme->tui.transparent_checker_size = U_theme_default.tui.transparent_checker_size; } + if (!USER_VERSION_ATLEAST(283, 18)) { + FROM_DEFAULT_V4_UCHAR(space_info.info_report_error); + FROM_DEFAULT_V4_UCHAR(space_info.info_report_warning); + FROM_DEFAULT_V4_UCHAR(space_info.info_report_info); + } + /** * Versioning code until next subversion bump goes here. * |