...Forgot to actually draw the image when xml export was used.

Another erroneous assumption based on my Ogl problems...
This commit is contained in:
Alfredo de Greef 2006-06-26 02:46:34 +00:00
parent a6fc975d49
commit cbf7e5cd0f
3 changed files with 7 additions and 4 deletions

@ -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)

@ -1898,10 +1898,6 @@ bool yafrayPluginRender_t::writeWorld()
return true;
}
// display_draw() needs render layer info
extern "C" {
#include "renderpipeline.h"
}
bool blenderYafrayOutput_t::putPixel(int x, int y, const yafray::color_t &c,
yafray::CFLOAT alpha, yafray::PFLOAT depth)
{

@ -25,6 +25,8 @@ extern "C" {
#include "BKE_image.h"
#include "render_types.h"
/* display_draw() needs render layer info */
#include "renderpipeline.h"
/* useful matrix & vector operations */
#include "MTC_matrixops.h"