diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-15 05:32:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-15 05:32:53 +0400 |
commit | ac86c04401686a9d119ea84ad489ca3db7403e5c (patch) | |
tree | 123807fb6ccd3325c9d5b348992be9176eadf688 /source/blender/blenlib/BLI_blenlib.h | |
parent | 2c31cc4503ee4de8e8c4ff5665ed1e7dbabfb832 (diff) |
added BLI_convertstringcwd, used so command line blendfiles and python scripts can be relative to the current path.
- was alredy doing this for blendfiles, but better to have in its own function.
header_text.c - renamed PATH_MAX, was defined by system includes.
Diffstat (limited to 'source/blender/blenlib/BLI_blenlib.h')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index c59cd2dab4e..a1db7adf33d 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -151,6 +151,7 @@ void BLI_cleanup_dir(const char *relabase, char *dir); /* same as above but adds */ int BLI_convertstringcode(char *path, const char *basepath); int BLI_convertstringframe(char *path, int frame); +int BLI_convertstringcwd(char *path); void BLI_makestringcode(const char *relfile, char *file); |