From c931ceeaf76f9a5ef95ae9ec57e6106e427bfa6b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 31 Jan 2008 22:53:31 +0000 Subject: last commit worked in test case but not in real world :/ - revert and will look further into it. --- source/blender/blenloader/intern/readfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 3f63de1465b..769ff541ea4 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4067,13 +4067,14 @@ static void lib_link_library(FileData *fd, Main *main) Library *lib; for(lib= main->library.first; lib; lib= lib->id.next) { lib->id.us= 1; - +#if 0 /* Libraries store both relative and abs paths, recreate relative paths, * relative to the blend file since indirectly linked libs will be relative to their direct linked library */ if (strncmp(lib->name, "//", 2)==0) { /* if this is relative to begin with? */ strncpy(lib->name, lib->filename, sizeof(lib->name)); BLI_makestringcode(fd->filename, lib->name); } +#endif } } -- cgit v1.2.3