diff options
author | Ton Roosendaal <ton@blender.org> | 2005-06-02 21:38:42 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-06-02 21:38:42 +0400 |
commit | 7654d1a711d4802c53267c00f9432be902010871 (patch) | |
tree | 87f543eb067c848bff7c34ba54f4a2129dd8bd51 /source/blender/blenloader/intern/readfile.h | |
parent | 01d0b5eba83b938edc4b8af0af1ebd7cf3c78a2e (diff) |
Fix for #2657
Appending from files also set the string for "last loaded file". That's
a real bad one... so you can save over accidentally libraries.
Another fix: appending from files that have dynamic other files linked
with relative paths didn't work. (Yah, now it should all work!)
renderconverter change is just a more clear comment.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.h')
-rw-r--r-- | source/blender/blenloader/intern/readfile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index e198752f130..19534095f98 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -52,7 +52,9 @@ typedef struct FileData { // variables needed for reading from file int filedes; - + // now only in use for library appending + char filename[FILE_MAXDIR+FILE_MAXFILE]; + // variables needed for reading from stream char headerdone; int inbuffer; |