[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13507] trunk/blender/source/blender/ blenloader/intern/readfile.c: last commit worked in test case but not in real world :/ - revert and will look further into it.
Campbell Barton
ideasman42 at gmail.com
Thu Jan 31 23:53:31 CET 2008
Revision: 13507
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13507
Author: campbellbarton
Date: 2008-01-31 23:53:31 +0100 (Thu, 31 Jan 2008)
Log Message:
-----------
last commit worked in test case but not in real world :/ - revert and will look further into it.
Modified Paths:
--------------
trunk/blender/source/blender/blenloader/intern/readfile.c
Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c 2008-01-31 22:47:03 UTC (rev 13506)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c 2008-01-31 22:53:31 UTC (rev 13507)
@@ -4067,13 +4067,14 @@
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
}
}
More information about the Bf-blender-cvs
mailing list