Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-02-01 01:53:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-01 01:53:31 +0300
commitc931ceeaf76f9a5ef95ae9ec57e6106e427bfa6b (patch)
treef80e025ebca4a5090af839cb38fdda94c4d07931 /source
parent240148f36346bbcf5476799c27e9775fe3766597 (diff)
last commit worked in test case but not in real world :/ - revert and will look further into it.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/readfile.c3
1 files changed, 2 insertions, 1 deletions
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
}
}