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/makesrna | |
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/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_image_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c index 34e2fc06ad7..0612520caec 100644 --- a/source/blender/makesrna/intern/rna_image_api.c +++ b/source/blender/makesrna/intern/rna_image_api.c @@ -98,7 +98,7 @@ char *rna_Image_get_abs_filename(Image *image, bContext *C) BLI_strncpy(filename, image->name, FILE_MAXDIR + FILE_MAXFILE); BLI_convertstringcode(filename, CTX_data_main(C)->name); - BLI_convertstringframe(filename, CTX_data_scene(C)->r.cfra); + BLI_convertstringframe(filename, CTX_data_scene(C)->r.cfra, 0); return filename; } |