Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-31 01:33:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-31 01:33:47 +0300
commitf749d0361f8a2cf8ba7d515c31cec1dcf8fe96a5 (patch)
tree6a510ba82bba9795faf1ffacf53e529dd0e4e196 /source/blender/makesrna/intern/rna_image_api.c
parent1943a73439f04f65d721c8e58270d29498ff6b96 (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/intern/rna_image_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_image_api.c2
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;
}