diff options
author | Ton Roosendaal <ton@blender.org> | 2006-08-10 14:38:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-08-10 14:38:50 +0400 |
commit | 7440aba482f290d14094d17d179a3c3287f3ba19 (patch) | |
tree | 0ee2f58e5eb73e4156cc0ab1fe6907a85fd0a1e5 /source/blender/src/renderwin.c | |
parent | 86d72cb7d48003551269fcf9225037c23e8f0e09 (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.c | 2 |
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); |