Blender Git Loki
Git Commits -> Revision cb57d03
Revision cb57d03 by Ton Roosendaal (master) December 14, 2005, 09:59 (GMT) |
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. |
Commit Details:
Full Hash: cb57d03e9791527abbf7ce3c522899ea0e95e7e2
SVN Revision: 6109
Parent Commit: 4f235db
Lines Changed: +31, -9
1 Modified Path:
/source/blender/blenloader/intern/readfile.c (+31, -9) (Diff)