Blender Git Loki

Git Commits -> Revision 8ad2808

Revision 8ad2808 by Bastien Montagne (master)
November 13, 2015, 14:34 (GMT)
Tighten checks around unlinkable datablocks becoming LIB_EXTERN.

We have currently a gooseberry file (scenes/01_island/01_meet_franck/01_01_01_A/01_01_01_A.anim.blend)
that links against two -pre repo libs, which are hence not available for common mortals,
and generate warnings and placeholders during load step.

Issue is, among those missing (directly) linked datablocks, we have two shapekeys!

This should never happen nor be possible at all. I tried understanding how this could happen,
with no luck at all, best bet would be some wild/bad call to `id_us_plus()` over those skeys
at some point...

Anyway, this commit:
- Handles a bit better those 'cases that should never happen' at load time.
- Adds several checks in ID handling code (and save/load code) to try to detect where/when
a non-linkable datablock becomes LIB_EXTERN (i.e. directly linked).

Commit Details:

Full Hash: 8ad2808fd74b4d74218deeb7e41e9d45e8fd5571
Parent Commit: 400e8c6
Lines Changed: +28, -6

3 Modified Paths:

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