diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-14 15:53:39 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-14 16:03:49 +0300 |
commit | c7e7c1b24168078dcec6c7affdd749bf2750afd9 (patch) | |
tree | f03a24cd437ba87eeace53ea15ecf3ff8329d18b /source/blender/editors/space_file/filelist.c | |
parent | 424f41ad1c9f42cf274a8255d36f999994a99759 (diff) |
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.
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
0 files changed, 0 insertions, 0 deletions