forked from bartvdbraak/blender
...Forgot to actually draw the image when xml export was used.
Another erroneous assumption based on my Ogl problems...
This commit is contained in:
parent
a6fc975d49
commit
cbf7e5cd0f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user