Blender Git Commit Log

Git Commits -> Revision 93633ef

Revision 93633ef by Bastien Montagne (master)
March 11, 2019, 16:08 (GMT)
Fix (unreported) broken ID previews reading.

Recent changes to blendfile reading adding deferred reading of actual
data broke it, we cannot use the nifty `bhead + 1` to access data
anymore, since there is no guaranty that that block hass been fully
read.

Note that there is still one case in `read_file_thumbnail()`, however
loading of blendfile preview itself seems to be working fine... Maybe
@campbellbarton can double check that point (or knows of hands whether
it is OK there)?

Commit Details:

Full Hash: 93633efe69ca4e610304b34268e523f54f9d7d57
Parent Commit: 1bc8ddb
Lines Changed: +2, -2

1 Modified Path:

/source/blender/blenloader/intern/readblenentry.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021