diff options
author | Bastien Montagne <b.mont29@gmail.com> | 2020-02-06 18:25:15 +0300 |
---|---|---|
committer | Bastien Montagne <b.mont29@gmail.com> | 2020-02-06 20:55:50 +0300 |
commit | 7954e672c555037733b4ac298d558155d1862055 (patch) | |
tree | 1c9b5e3144b02e72ff266f78bb7d56cc7d914282 /source/blender/blenkernel/BKE_global.h | |
parent | 921d74dd365661c52dd91dd12d29314ffd9f26ab (diff) |
Readfile: refactor/factorize more handling of common ID data.
- Move handling of private ID data (nodetree and master_collection)
under generic ID code. This shortens code a bit, but mostly avoids having
to modify all type-specific callback functions if/when we have to add
generic processing to IDs there.
- Seriously factorize `expand_xxx` area, in the same way we were already
doing in `direct_link_xxx` and `lib_link_xxx` areas.
Note that this actually also fixes some bugs (at least, potential ones),
like e.g. missing call to expand_id() for our beloved 'private ID'
(nodetrees & co), in current master code...
Differential Revision: https://developer.blender.org/D6764
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
0 files changed, 0 insertions, 0 deletions