From 5e5a38cdc3f4983eb17588fcaa1c4a44dbb20892 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 20 Oct 2009 16:43:25 +0000 Subject: Bugfixes for quit.blend + library linking, the last commit didn't solve that completely: * quit.blend is saved from the undo file, which did not save out library ID_LI and ID_ID blocks, for quick undo keeping the library datablocks. However this means library links are lost on reading the quit.blend, so now instead of not writing them, they are not read on undo. * Libraries were not not using the right path yet always. Note the screen setup is still not recovered from the quit.blend if no auto save happened yet, but that is not important enough to spend time on now. --- source/blender/blenloader/intern/readfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenloader/intern/readfile.h') diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index 2a0b6c327d3..41bc8f80fec 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -56,7 +56,7 @@ typedef struct FileData { gzFile gzfiledes; // now only in use for library appending - char filename[FILE_MAXDIR+FILE_MAXFILE]; + char relabase[FILE_MAXDIR+FILE_MAXFILE]; // variables needed for reading from stream char headerdone; -- cgit v1.2.3