Blender Git Loki

Git Commits -> Revision e4ca6b9

Revision e4ca6b9 by Bastien Montagne (master)
June 4, 2021, 10:09 (GMT)
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.

Commit Details:

Full Hash: e4ca6b93ad11188193f9a520db92958aaf0deb75
Parent Commit: 77d7cae
Lines Changed: +65, -15

3 Modified Paths:

/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -2) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+59, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021