diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-31 01:33:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-31 01:33:47 +0300 |
commit | f749d0361f8a2cf8ba7d515c31cec1dcf8fe96a5 (patch) | |
tree | 6a510ba82bba9795faf1ffacf53e529dd0e4e196 /source/blender/blenlib/BLI_path_util.h | |
parent | 1943a73439f04f65d721c8e58270d29498ff6b96 (diff) |
- hash characters in the path would confuse the output file name and not add numbers to it (when rendering animations).
- added an option to BLI_convertstringframe and BLI_convertstringframe_range to add digits if not found.
- removed BLI_convertstringframe where its obviously not needed - such as loading movies and sounds.
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r-- | source/blender/blenlib/BLI_path_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h index f9ef3d8c828..8e97511f4c5 100644 --- a/source/blender/blenlib/BLI_path_util.h +++ b/source/blender/blenlib/BLI_path_util.h @@ -97,8 +97,8 @@ int BLI_has_parent(char *path); * @retval Returns true if the path was relative (started with "//"). */ int BLI_convertstringcode(char *path, const char *basepath); -int BLI_convertstringframe(char *path, int frame); -int BLI_convertstringframe_range(char *path, int sta, int end); +int BLI_convertstringframe(char *path, int frame, int digits); +int BLI_convertstringframe_range(char *path, int sta, int end, int digits); int BLI_convertstringcwd(char *path); void BLI_makestringcode(const char *relfile, char *file); |