Blender Git Loki

Git Commits -> Revision 8165234

Revision 8165234 by Bastien Montagne (master)
February 16, 2018, 09:34 (GMT)
Fix part I of T53977: Severe problem with multiple instances of a library (save and reload).

The issue was that when a same lib was found several times in loaded
.blend, we'd only keep the first occurence. But since Blender expects
next data-blocks to belong to last found library, we could actually
be adding data-blocks assigned to copies of the duplicated lib to
another, totally unrelated lib.

Those data-blocks were then obviously not found when actually loading
libs content, and lost.

Note that this only fix one part of the issue, current code can
generate several copies of same linked data-block now, will fix in
another commit.

Commit Details:

Full Hash: 8165234b46f872cfc8905a36741a3af844ff61ad
Parent Commit: e03f335
Lines Changed: +10, -2

1 Modified Path:

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