diff options
author | Bastien Montagne <bastien@blender.org> | 2021-06-04 12:40:27 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-06-04 13:09:05 +0300 |
commit | e4ca6b93ad11188193f9a520db92958aaf0deb75 (patch) | |
tree | 3be4bfe542e011ff3353148af5f4b110468ed92b /source/blender/blenkernel/BKE_blender_version.h | |
parent | 77d7cae2669a6fa37b75a4c474b9c6c6fe3795c3 (diff) |
BlenLoad: Ensure linked IDs are properly sorted.
So far, linked IDs were not properly sorted at all, only the ones
explicitely linked from WM code would be, but any indirectly linked
data-blocks would end up in some random order in their lists.
While not ideal, this is not a huge issue in itself, but it had bad
side-effects, e.g. causing (recursive) resync of overrides to happen in
random order, leading to mismatches between name indices of newly-generated
override IDs and the one existings e.g.
And in general, it is much better to be consistent here.
Note that the file sub-version is bumped for this commit, since some
sorting (the directly linked IDs which we keep a reference to) should
never need to be re-done after relevant doversion process.
Diffstat (limited to 'source/blender/blenkernel/BKE_blender_version.h')
-rw-r--r-- | source/blender/blenkernel/BKE_blender_version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_blender_version.h b/source/blender/blenkernel/BKE_blender_version.h index eb937ac9608..6ad910ff8ab 100644 --- a/source/blender/blenkernel/BKE_blender_version.h +++ b/source/blender/blenkernel/BKE_blender_version.h @@ -39,7 +39,7 @@ extern "C" { /* Blender file format version. */ #define BLENDER_FILE_VERSION BLENDER_VERSION -#define BLENDER_FILE_SUBVERSION 2 +#define BLENDER_FILE_SUBVERSION 3 /* Minimum Blender version that supports reading file written with the current * version. Older Blender versions will test this and show a warning if the file |