Sculpt: external file storage for multires
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 25 Nov 2009 14:27:50 +0000 (14:27 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 25 Nov 2009 14:27:50 +0000 (14:27 +0000)
commit077edbb384e3845f27cc06618046a08c7101cc4c
tree7956c198717590d68a285ecb903f91064f35314a
parent436969ce49bc17573e8f87a87ef89d1d036d5f4e
Sculpt: external file storage for multires

* This is experimental, the file format may change still!
* Helps reduce memory usage, keeps .blend files smaller, and makes
  saving quicker when not editing multires.
* This is implemented at the customdata level, currently only the
  multires displacements can be stored externally.

ToDo

* Better integration with object duplication/removal/..
* Memory is not yet freed when exiting sculpt mode.
* Loading only lower levels is not supported yet.
15 files changed:
release/scripts/ui/properties_data_modifier.py
source/blender/blenkernel/BKE_btex.h [new file with mode: 0644]
source/blender/blenkernel/BKE_customdata.h
source/blender/blenkernel/intern/btex.c [new file with mode: 0644]
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/multires.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenlib/BLI_string.h
source/blender/blenlib/intern/string.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/include/ED_sculpt.h
source/blender/makesdna/DNA_customdata_types.h
source/blender/makesrna/intern/rna_modifier.c
source/blender/windowmanager/intern/wm_files.c