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/src/renderwin.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/src/renderwin.c')
-rw-r--r--source/blender/src/renderwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/renderwin.c b/source/blender/src/renderwin.c
index c743af462b3..8d3d0b2986a 100644
--- a/source/blender/src/renderwin.c
+++ b/source/blender/src/renderwin.c
@@ -1251,7 +1251,7 @@ void BIF_do_ogl_render(View3D *v3d, int anim)
char name[FILE_MAXDIR+FILE_MAXFILE];
int ok;
- BKE_makepicstring(name, (G.scene->r.cfra));
+ BKE_makepicstring(name, G.scene->r.pic, G.scene->r.cfra, G.scene->r.imtype);
ibuf->rect= rr->rect32;
ok= BKE_write_ibuf(ibuf, name, G.scene->r.imtype, G.scene->r.subimtype, G.scene->r.quality);