diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-12-31 15:03:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-12-31 15:03:26 +0300 |
commit | 5e4d32a9ffa7157a40bbd4d1d821c6dad860af0d (patch) | |
tree | 66caad4b06353342a3933b0287255b1d95d3b7dd /source/blender/blenlib/BLI_bpath.h | |
parent | d00d1f1c89f217e485e18020ff0bac087ffcd77f (diff) |
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.
Diffstat (limited to 'source/blender/blenlib/BLI_bpath.h')
-rw-r--r-- | source/blender/blenlib/BLI_bpath.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_bpath.h b/source/blender/blenlib/BLI_bpath.h index 32d20c4b13e..e932c39eb06 100644 --- a/source/blender/blenlib/BLI_bpath.h +++ b/source/blender/blenlib/BLI_bpath.h @@ -54,7 +54,7 @@ void BLI_bpathIterator_copyPathExpanded( struct BPathIterator *bpi, char *path /* high level funcs */ /* creates a text file with missing files if there are any */ -struct Text * checkMissingFiles(void); -void makeFilesRelative(int *tot, int *changed, int *failed, int *linked); -void makeFilesAbsolute(int *tot, int *changed, int *failed, int *linked); +void checkMissingFiles(char *txtname ); +void makeFilesRelative(char *txtname, int *tot, int *changed, int *failed, int *linked); +void makeFilesAbsolute(char *txtname, int *tot, int *changed, int *failed, int *linked); void findMissingFiles(char *str); |