Blender Git Loki

Git Commits -> Revision 2ad0ae8

Revision 2ad0ae8 by Bastien Montagne (master)
April 1, 2020, 07:43 (GMT)
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

Commit Details:

Full Hash: 2ad0ae8dadb7eb1e956b6d6c4583f1fa1f7fba4f
Parent Commit: 7952274
Lines Changed: +130, -136

1 Modified Path:

/source/blender/blenloader/intern/writefile.c (+130, -136) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021