[Bf-blender-cvs] CVS commit: blender/source/blender/blenloader/intern readfile.c
Ton Roosendaal
ton at blender.org
Wed Dec 14 10:59:22 CET 2005
ton (Ton Roosendaal) 2005/12/14 10:59:22 CET
Modified files: (Branch: orange)
blender/source/blender/blenloader/intern readfile.c
Log:
Orange; more relative path messing... the functions in Blender for it
don't work consistant;
BLI_makestringcode()
This one works correct for paths that go up; it then makes a relative
path like : //../lib/file.blend
BLI_convertstringcode()
This one delivers different paths when it expands, the previous case
will just append the relative path, like /work/project/../lib/file.blend.
That string cannot be compared with the original... which happened to find
out if a library was read already.
Solution for now is that only the relative paths are compared, but it
won't work if multiple relative levels are used... like for libraries
that link recursive. To solve that, the entire 'relative' concept has to
be redesigned.
Revision Changes Path
1.214.2.12 +31 -9 blender/source/blender/blenloader/intern/readfile.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readfile.c.diff?r1=1.214.2.11&r2=1.214.2.12&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list