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:
authorTon Roosendaal <ton@blender.org>2006-08-10 14:38:50 +0400
committerTon Roosendaal <ton@blender.org>2006-08-10 14:38:50 +0400
commit7440aba482f290d14094d17d179a3c3287f3ba19 (patch)
tree0ee2f58e5eb73e4156cc0ab1fe6907a85fd0a1e5 /source/blender/python/api2_2x/sceneRender.c
parent86d72cb7d48003551269fcf9225037c23e8f0e09 (diff)
Compositor: finished work on node "File Output".
- It saves a file with indicated type on each change, with number appended denoting the current frame (like ANIM saving). - Output filename button supports relative paths ("//") - Shows optional preview image too - For now, added a print on each file save as feedback To make this option work nicely, changed the BKE_makepicstring() function to have less globals inside, so it is more generic. Todo: allow amount of digits in filenames to be set (to support files like tmp_123456.jpg)
Diffstat (limited to 'source/blender/python/api2_2x/sceneRender.c')
-rw-r--r--source/blender/python/api2_2x/sceneRender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c
index b35f81dca8a..8ef3c09ab00 100644
--- a/source/blender/python/api2_2x/sceneRender.c
+++ b/source/blender/python/api2_2x/sceneRender.c
@@ -518,7 +518,7 @@ PyObject *RenderData_Play( BPy_RenderData * self )
pos[1], file );
system( str );
} else {
- BKE_makepicstring( file, self->renderContext->sfra );
+ BKE_makepicstring( file, G.scene->r.pic, self->renderContext->sfra, G.scene->r.imtype);
if( BLI_exist( file ) ) {
calc_renderwin_rectangle(640, 480, G.winpos, pos, size);
sprintf( str, "%s -a -p %d %d \"%s\"", bprogname,