diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-03-16 20:47:23 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-03-16 20:56:44 +0300 |
commit | 04e1feb83051f75317309ec3659b9263a99dbd7e (patch) | |
tree | c2e71b1f62233b04bfab8f6f307e6d1838e8daa2 /source/blender/blenloader/intern | |
parent | e4f347783320d83e43bc650020013e19b2f22c7f (diff) |
VSE: Automatic proxy building
Build proxies automatically when added to sequencer timeline and when
switching preview size.
This behavior can be disabled in user preferences.
Reviewed By: sergey, fsiddi
Differential Revision: https://developer.blender.org/D10363
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c index ae22c5151cc..8cbedb05931 100644 --- a/source/blender/blenloader/intern/versioning_userdef.c +++ b/source/blender/blenloader/intern/versioning_userdef.c @@ -845,6 +845,14 @@ void blo_do_versions_userdef(UserDef *userdef) userdef->experimental.use_asset_browser = true; } + if (!USER_VERSION_ATLEAST(293, 12)) { + if (userdef->gizmo_size_navigate_v3d == 0) { + userdef->gizmo_size_navigate_v3d = 80; + } + + userdef->sequencer_proxy_setup = USER_SEQ_PROXY_SETUP_AUTOMATIC; + } + /** * Versioning code until next subversion bump goes here. * @@ -856,9 +864,6 @@ void blo_do_versions_userdef(UserDef *userdef) */ { /* Keep this block, even when empty. */ - if (userdef->gizmo_size_navigate_v3d == 0) { - userdef->gizmo_size_navigate_v3d = 80; - } } LISTBASE_FOREACH (bTheme *, btheme, &userdef->themes) { |