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:
authorAlfredo de Greef <eeshlo@yahoo.com>2006-06-26 06:46:34 +0400
committerAlfredo de Greef <eeshlo@yahoo.com>2006-06-26 06:46:34 +0400
commitcbf7e5cd0f9b810385c4be78daaecac064270a40 (patch)
treef37e60a62924fe11017535fdf7142fa7fbc89698 /source/blender/yafray/intern/export_File.cpp
parenta6fc975d49fb58d9109b30d779c20ba267f060d6 (diff)
...Forgot to actually draw the image when xml export was used.
Another erroneous assumption based on my Ogl problems...
Diffstat (limited to 'source/blender/yafray/intern/export_File.cpp')
-rwxr-xr-xsource/blender/yafray/intern/export_File.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/yafray/intern/export_File.cpp b/source/blender/yafray/intern/export_File.cpp
index b7cd4b7bd57..2e1b63b2ecc 100755
--- a/source/blender/yafray/intern/export_File.cpp
+++ b/source/blender/yafray/intern/export_File.cpp
@@ -355,6 +355,11 @@ void yafrayFileRender_t::displayImage()
fclose(fp);
fp = NULL;
+
+ // based on another assumption of ogl errors on my system, forgot to actually draw it...
+ re->result->renlay = render_get_active_layer(re, re->result);
+ re->display_draw(re->result, NULL);
+
}
static string noise2string(short nbtype)