Blender Git Commit Log

Git Commits -> Revision c7e7c1b

Revision c7e7c1b by Bastien Montagne (master)
June 14, 2016, 13:03 (GMT)
Write .blend file: refactor & fixes re ID block itself.

Factorized writing of ID block's data (so far, only IDProps) into own helper func.
This also fixes missing IDProp (aka custom data) saving from GreasePencil and Library
datablocks (and add comment about why we do not save WM IDProps).

Finaly, it ensures all ID-related data are written immediately after the ID itself
(was not the case for all data types previously, some were writting their own data
before IDProps). This is not a fix (.blend file format does not enforce any order
on sub-data of datablocks, they only have to be after datablock struct itself in file),
but makes things more consistent.

Commit Details:

Full Hash: c7e7c1b24168078dcec6c7affdd749bf2750afd9
Parent Commit: 424f41a
Lines Changed: +120, -115

1 Modified Path:

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