Blender Git Commit Log

Git Commits -> Revision bb2e2ad

June 7, 2021, 14:59 (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: bb2e2ad3ff234d579a928e66cc213a93c304232a
Parent Commit: 467f97f
Committed By: Jacques Lucke
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021