Anim: Theme entry for time visualization #120558

Open
Christoph Lendenfeld wants to merge 16 commits from ChrisLend/blender:theme_for_time_colors into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 65b2dd65b1 - Show all commits

View File

@ -29,7 +29,7 @@ extern "C" {
/* Blender file format version. */
#define BLENDER_FILE_VERSION BLENDER_VERSION
#define BLENDER_FILE_SUBVERSION 41
#define BLENDER_FILE_SUBVERSION 42
/* Minimum Blender version that supports reading file written with the current
* version. Older Blender versions will test this and cancel loading the file, showing a warning to

View File

@ -160,6 +160,11 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
FROM_DEFAULT_V4_UCHAR(space_image.asset_shelf.header_back);
}
if (!USER_VERSION_ATLEAST(402, 42)) {
FROM_DEFAULT_V4_UCHAR(space_view3d.before_current_frame);
FROM_DEFAULT_V4_UCHAR(space_view3d.after_current_frame);
}
/**
* Always bump subversion in BKE_blender_version.h when adding versioning
* code here, and wrap it inside a USER_VERSION_ATLEAST check.