Blender Git Commit Log
Git Commits -> Revision fade37f
Revision fade37f by Campbell Barton (master) June 19, 2020, 06:47 (GMT) |
Writefile: move file flags to BlendFileWriteParams This removes G_FILE_HISTORY, G_FILE_SAVE_COPY & G_FILE_USERPREFS. Using file-flags made logic harder to follow since it's not so clear which flags are expected to be in G.fileflags & which are meant to be set and passed as arguments, these are shared between read & write functions too. Add BlendFileWriteParams so options which don't need to be stored aren't mixed up with flags that are stored for reuse. |
Commit Details:
Full Hash: fade37ff07ab3b62844068a1a5d60dd74ea787f6
Parent Commit: 5a77f64
Lines Changed: +96, -75
7 Modified Paths:
/source/blender/blenkernel/BKE_global.h (+2, -6) (Diff)
/source/blender/blenkernel/intern/blender_undo.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+15, -3) (Diff)
/source/blender/blenloader/BLO_writefile.h (+16, -11) (Diff)
/source/blender/blenloader/intern/writefile.c (+19, -22) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+38, -28) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/blender_undo.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/blendfile.c (+15, -3) (Diff)
/source/blender/blenloader/BLO_writefile.h (+16, -11) (Diff)
/source/blender/blenloader/intern/writefile.c (+19, -22) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+38, -28) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+4, -2) (Diff)