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-05-27 17:35:03 +0400
committerTon Roosendaal <ton@blender.org>2006-05-27 17:35:03 +0400
commite5b39b69d186882cce12d0a9baba0bf32c755780 (patch)
tree02889bcb2a25ddd67a741a8679e3783c3e1c0ab7 /source/blender/src/writeimage.c
parentdee16b9e3dac0d88275f856fc6cb6760851f40a6 (diff)
So! Finally time to work on finishing render pipeline project.
This commit brings back: - Field Render - MBlur Render (old style) - Border render with or without cropping Note: Field Render is not supported in Compositor yet. Blurring or filter will destroy field information. Both MotionBlur as Field render are done before Compositing happens. Fixes: - The "Save Buffers" option only worked on single frame renders, not for Anim render. - Found an un-initalized variable in Render initialize... this might have caused the unknown random crashes with render. Code restructure: Cleaned up names and calls throughout the pipeline, more clearly telling what goes on in functions. This is visible in the updated first image of the Wiki doc: http://mediawiki.blender.org/index.php/BlenderDev/RenderPipeline
Diffstat (limited to 'source/blender/src/writeimage.c')
-rw-r--r--source/blender/src/writeimage.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/writeimage.c b/source/blender/src/writeimage.c
index fc44dc3835f..5dd5dc23805 100644
--- a/source/blender/src/writeimage.c
+++ b/source/blender/src/writeimage.c
@@ -218,9 +218,11 @@ void save_image_filesel_str(char *str)
/* calls fileselect if zbuf is set we are rendering the zbuffer */
void BIF_save_rendered_image_fs(int zbuf)
{
- RenderResult *rr= RE_GetResult(RE_GetRender(G.scene->id.name));
+ RenderResult rres;
- if(!rr) {
+ RE_GetResultImage(RE_GetRender(G.scene->id.name), &rres);
+
+ if(!rres.rectf) {
error("No image rendered");
} else {
char dir[FILE_MAXDIR * 2], str[FILE_MAXFILE * 2];