Blender Git Loki

Git Commits -> Revision cbd4a79

Revision cbd4a79 by Campbell Barton (master)
April 14, 2018, 11:03 (GMT)
Undo: refactor memfile writing

- Move static undo variable into 'WriteData',
'memfile_chunk_add' used arguments in a confusing way,
sometimes to set/clear static var.

- Replace checks for 'wd->current' with 'wd->use_memfile'
move memfile vars into 'wd->mem' struct.

Commit Details:

Full Hash: cbd4a79c6d8bf479fc0914df29f8d367b232bb1a
Parent Commit: 2e9b92b
Lines Changed: +69, -68

3 Modified Paths:

/source/blender/blenloader/BLO_undofile.h (+3, -1) (Diff)
/source/blender/blenloader/intern/undofile.c (+10, -20) (Diff)
/source/blender/blenloader/intern/writefile.c (+56, -47) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021