diff options
author | Julian Eisel <julian@blender.org> | 2021-01-21 16:37:19 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-01-21 16:40:13 +0300 |
commit | 1135790ad53421acf4265d0467f122072ba1d858 (patch) | |
tree | 7647d9f95ed059a5088bc7a3567c1c5204c80049 /source/blender/blenloader | |
parent | f4d07196bd6e7e9a5f27d103bcbae564c6ac55b9 (diff) |
Asset Browser: Enable by default in alpha builds
The Asset Browser is still considered an experimental feature right now. But it
can be enabled by default for alpha builds, to get further testing and
feedback. It will hopefully be a non-experimental feature by the end of bcon1.
This is done in agreement with Dalai.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index 0bc1cc4a05c..9af2dee296b 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -826,6 +826,13 @@ void blo_do_versions_userdef(UserDef *userdef) } } + if (!USER_VERSION_ATLEAST(293, 2)) { + /* Enable asset browser features by default for alpha testing. + * BLO_sanitize_experimental_features_userpref_blend() will disable it again for non-alpha + * builds. */ + userdef->experimental.use_asset_browser = true; + } + /** * Versioning code until next subversion bump goes here. * |