Change to file output compositor node -
Now it only outputs files when rendering, otherwise, it overwrites the output files whenever the compositor updates (i.e. just scrubbing through the timeline )
This commit is contained in:
@@ -47,7 +47,12 @@ static void node_composit_exec_output_file(void *data, bNode *node, bNodeStack *
|
||||
if(nif->sfra!=nif->efra && (rd->cfra<nif->sfra || rd->cfra>nif->efra)) {
|
||||
return; /* BAIL OUT RETURN */
|
||||
}
|
||||
else {
|
||||
else if (!G.rendering) {
|
||||
/* only output files when rendering a sequence -
|
||||
* otherwise, it overwrites the output files just
|
||||
* scrubbing through the timeline when the compositor updates */
|
||||
return;
|
||||
} else {
|
||||
CompBuf *cbuf= typecheck_compbuf(in[0]->data, CB_RGBA);
|
||||
ImBuf *ibuf= IMB_allocImBuf(cbuf->x, cbuf->y, 32, 0, 0);
|
||||
char string[256];
|
||||
|
||||
Reference in New Issue
Block a user