[Bf-codereview] Fix for [#27410] Manual save kills actual .blend file if disk space is low (issue4550108)

elubie at gmx.net elubie at gmx.net
Thu Jun 2 12:36:54 CEST 2011


Reviewers: bf-codereview_blender.org, brechtvl, ideasman42,

Description:
This moves the do_history into the BLO_write_file, so the file renaming
happens after successful write of the temporary .blend@ file.

Added new file flag, to avoid writing history on writing the homefile
and undo.


Please review this at http://codereview.appspot.com/4550108/

Affected files:
   source/blender/blenkernel/BKE_global.h
   source/blender/blenkernel/intern/blender.c
   source/blender/blenloader/intern/writefile.c
   source/blender/windowmanager/intern/wm_files.c




More information about the Bf-codereview mailing list