Blender Git Commit Log

Git Commits -> Revision bf83f6d

Revision bf83f6d by Ton Roosendaal (master)
September 5, 2004, 13:43 (GMT)
Second itteration of global undo system. Now based on:

- file-to-memory save
- incremental difference steps (compression)

everthing has been tightly coded to use minimum of memcpy or allocs. In
fact this system works with a single full buffer (=file) in memory, and undosteps as differences from it.
Speed gain is factor 4-8 faster. I've added it in CTRL+ALT+T timer menu for
a test. Please note the gain is especially in the undo-storing, not in
retrieving undo.

Also new: file read option to skip UI read (file menu). This now also is
default for the undo system.

Commit Details:

Full Hash: bf83f6ddd87a76d30339057118f23c5651f9eff4
SVN Revision: 3042
Parent Commit: 61e4707
Lines Changed: +568, -247

1 Added Path:

/source/blender/blenloader/BLO_undofile.h (+58, -0) (View)

17 Modified Paths:

/source/blender/blenkernel/BKE_blender.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/blender.c (+69, -9) (Diff)
/source/blender/blenkernel/intern/object.c (+14, -0) (Diff)
/source/blender/blenloader/BLO_readfile.h (+5, -1) (Diff)
/source/blender/blenloader/BLO_writefile.h (+5, -2) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+46, -13) (Diff)
/source/blender/blenloader/intern/readfile.c (+214, -25) (Diff)
/source/blender/blenloader/intern/readfile.h (+12, -30) (Diff)
/source/blender/blenloader/intern/writefile.c (+100, -36) (Diff)
/source/blender/makesdna/DNA_fileglobal_types.h (+1, -0) (Diff)
/source/blender/src/editscreen.c (+10, -6) (Diff)
/source/blender/src/header_info.c (+13, -1) (Diff)
/source/blender/src/interface.c (+1, -1) (Diff)
/source/blender/src/oops.c (+1, -0) (Diff)
/source/blender/src/toets.c (+6, -1) (Diff)
/source/blender/src/usiblender.c (+8, -122) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021