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>2008-04-11 19:47:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-11 19:47:21 +0400
commitf057a38e985fe4db1c57f48864624985a31c9235 (patch)
treec9383d4b2727434e3971096ac8ea4101a84ac89b /source/blender/src/sequence.c
parenta02937d86ccb30f0cc08ef451634595fb45726c6 (diff)
Changed BLI_convertstringcode to replace any number of hashes with the frame number.
somefile_##.png -> somefile_01.png somefile_########-image.png -> somefile_00000001-image.png Before, A hash at the end of the string would be replaced by a number with 4 characters. This is still default if no #'s are in the string, so nothing has changed. To use this function from the python api use scene.render.getFrameFilename()
Diffstat (limited to 'source/blender/src/sequence.c')
-rw-r--r--source/blender/src/sequence.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c
index 9e6f1996e75..61e44630493 100644
--- a/source/blender/src/sequence.c
+++ b/source/blender/src/sequence.c
@@ -1059,7 +1059,7 @@ static int seq_proxy_get_fname(Sequence * seq, int cfra, char * name)
frameno = tse->nr + seq->anim_startofs;
- snprintf(name, PROXY_MAXFILE, "%s/%s/%d/#", dir,
+ snprintf(name, PROXY_MAXFILE, "%s/%s/%d/####", dir,
seq->strip->stripdata->name,
G.scene->r.size);
} else {
@@ -1067,7 +1067,7 @@ static int seq_proxy_get_fname(Sequence * seq, int cfra, char * name)
frameno = tse->nr + seq->anim_startofs;
- snprintf(name, PROXY_MAXFILE, "%s/proxy_misc/%d/#", dir,
+ snprintf(name, PROXY_MAXFILE, "%s/proxy_misc/%d/####", dir,
G.scene->r.size);
}