From 1135790ad53421acf4265d0467f122072ba1d858 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Thu, 21 Jan 2021 14:37:19 +0100 Subject: 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. --- source/blender/blenloader/intern/versioning_userdef.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/blender/blenloader/intern/versioning_userdef.c') 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. * -- cgit v1.2.3