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/render | |
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/render')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index 11fe1457ec1..4dc88f70218 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -1933,7 +1933,7 @@ static void do_write_image_or_movie(Render *re, Scene *scene, bMovieHandle *mh) ImBuf *ibuf= IMB_allocImBuf(rres.rectx, rres.recty, scene->r.planes, 0, 0); int ok; - BKE_makepicstring(name, (scene->r.cfra)); + BKE_makepicstring(name, scene->r.pic, scene->r.cfra, scene->r.imtype); /* if not exists, BKE_write_ibuf makes one */ ibuf->rect= rres.rect32; |