diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-01-11 12:48:00 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-01-11 12:55:27 +0300 |
commit | 63cea2b793d0dd98b69cab156ba3be4dcf9f234a (patch) | |
tree | 89007dbc3f3c399e1611b18bbcc3b6eefd0041f8 /source/blender/blenloader/intern/versioning_290.c | |
parent | d0954110024fa6eb0c826bf211a4edf117b69788 (diff) |
Fix versioning code outside of version check
Bug introduced in f448ff2afe7a probably due to mistake when resolving
conflicts and not checking functionality.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_290.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index e5e04afc927..61cf7e4ef49 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -1507,15 +1507,15 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) } } } - } - LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { - Editing *ed = SEQ_editing_get(scene, false); - if (ed == NULL) { - continue; + LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { + Editing *ed = SEQ_editing_get(scene, false); + if (ed == NULL) { + continue; + } + ed->cache_flag = (SEQ_CACHE_STORE_RAW | SEQ_CACHE_STORE_FINAL_OUT); + do_versions_strip_cache_settings_recursive(&ed->seqbase); } - ed->cache_flag = (SEQ_CACHE_STORE_RAW | SEQ_CACHE_STORE_FINAL_OUT); - do_versions_strip_cache_settings_recursive(&ed->seqbase); } /** |