diff options
author | Bastien Montagne <mont29> | 2020-04-01 10:40:11 +0300 |
---|---|---|
committer | Bastien Montagne <b.mont29@gmail.com> | 2020-04-01 10:43:21 +0300 |
commit | 2ad0ae8dadb7eb1e956b6d6c4583f1fa1f7fba4f (patch) | |
tree | 0d37e34c1dfc81e3f56f5577e50464f9e843147c /source/blender/makesdna/DNA_gpencil_modifier_types.h | |
parent | 7952274cf0c4a262c274fa93c800c84c1aa2d5d7 (diff) |
Tweak write code to allow cleaning up runtime data before write.
This basically generalizes what was being done in `write_mesh`,
since we need to clean up ID tags anyway, it's easier to do it for all IDs.
Then ID write funcs themsleves can do whatever they want on the passed
struct, without risking interferring with regular Blender operations.
Note that Text write function is doing a suspicious change on one of its
flags, but this seems to be by-passed anyway by read code currently, so
think it's OK to not do that on orig data-block.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D7294
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
0 files changed, 0 insertions, 0 deletions