[SOLVED] Prevent rendering scene multiple times using MRT

I’ve figured out why there is nothing rendered in the filter postFrame(). The culprit was flushQueue() in the RenderManager class. The problem was that the queues were cleared right after the rendering, so there is nothing left to render. But the queues will be cleared either way in RenderManager.renderViewPort() => clearQueue(vp);

I modified flushQueue() by disable queue flushing right after the rendering:

public void flushQueue(ViewPort vp)
{
	//renderViewPortQueues(vp, true);
	renderViewPortQueues(vp, false);
}

It is the same problem as in this thread. You (@nehon) said it is a design stand point but I think postFrame() is useless when all important queues are already been cleared. Maybe this modification should be also changed in the core?