Blender Git Loki

Git Commits -> Revision 410512e

Revision 410512e by Ton Roosendaal (master)
July 27, 2005, 19:46 (GMT)
Patch provided by Shaul Kedem: Compressed files are back!
He even made a nice doc in wiki:
http://wiki.blender.org/bin/view.pl/Blenderdev/Blendgz

Usage: set the option "Compress File" in the main "File" pulldown menu.
This setting is a user-def, meaning it is not changed on reading files.
If you want it default, save it with CTRL+U.

The longest debate went over the file naming convention. Shaul started
with .blend.gz files, which gave issues in Blender because of the code
hanging out everywhere that detects blender files, and that appends the
.blend extension if needed.

Daniel Dunbar proposed to just save it as .blend, and not bother users
with such details. This is indeed the most elegant solution, with as
only drawback that old Blender executables cannot read it.
This drawback isn't very relevant at the moment, since we're heading
towards a release that isn't upward compatible anyway... the recode
going on on Meshes, Modfiers, Armatures, Poses, Actions, NLA already
have upward compatibility issues.
We might check - during the next month(s) - on a builtin system to
warn users in the future when we change things that make a file risky
to read in an older release.

Commit Details:

Full Hash: 410512e2656007587cc1671c71c37cbc0b5bda4f
SVN Revision: 4948
Parent Commit: cd6cbda
Lines Changed: +137, -108

15 Modified Paths:

/source/blender/blenkernel/intern/action.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/deform.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/exotic.c (+9, -6) (Diff)
/source/blender/blenlib/BLI_blenlib.h (+1, -0) (Diff)
/source/blender/blenlib/intern/fileops.c (+39, -0) (Diff)
/source/blender/blenlib/intern/util.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+30, -7) (Diff)
/source/blender/blenloader/intern/readfile.h (+4, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+21, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -0) (Diff)
/source/blender/src/buttons_editing.c (+0, -1) (Diff)
/source/blender/src/filesel.c (+5, -2) (Diff)
/source/blender/src/header_filesel.c (+3, -0) (Diff)
/source/blender/src/header_info.c (+10, -89) (Diff)
/source/blender/src/usiblender.c (+8, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021