Improvements to File->External Data->Make Paths Relative & Make Paths Absolute,
authorCampbell Barton <ideasman42@gmail.com>
Mon, 31 Dec 2007 12:03:26 +0000 (12:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 31 Dec 2007 12:03:26 +0000 (12:03 +0000)
commit5e4d32a9ffa7157a40bbd4d1d821c6dad860af0d
tree66caad4b06353342a3933b0287255b1d95d3b7dd
parentd00d1f1c89f217e485e18020ff0bac087ffcd77f
Improvements to File->External Data->Make Paths Relative & Make Paths Absolute,
made when testing peach blend files wont have path issues when sent to the renderfarm.
* log failed path conversions
* clean the path so //foo/../foo/ is removed (not sure why but some peach files had this problem)
Also added a function to util.c
BLI_cleanup_file, same as BLI_cleanup_dir but dosnt add a slash at the end.
source/blender/blenlib/BLI_blenlib.h
source/blender/blenlib/BLI_bpath.h
source/blender/blenlib/intern/bpath.c
source/blender/blenlib/intern/util.c
source/blender/src/header_info.c