From cbf7e5cd0f9b810385c4be78daaecac064270a40 Mon Sep 17 00:00:00 2001 From: Alfredo de Greef Date: Mon, 26 Jun 2006 02:46:34 +0000 Subject: ...Forgot to actually draw the image when xml export was used. Another erroneous assumption based on my Ogl problems... --- source/blender/yafray/intern/export_File.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/yafray/intern/export_File.cpp') 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) -- cgit v1.2.3