Bugfix #5541
Composite: Scale Node didn't correctly pass on 1-channel buffers when no scaling happened, resulting in crashes.
This commit is contained in:
@@ -5152,7 +5152,7 @@ static void node_composit_exec_scale(void *data, bNode *node, bNodeStack **in, b
|
||||
|
||||
if(ibuf->rect_float == cbuf->rect) {
|
||||
/* no scaling happened. */
|
||||
stackbuf= pass_on_compbuf(cbuf);
|
||||
stackbuf= pass_on_compbuf(in[0]->data);
|
||||
}
|
||||
else {
|
||||
stackbuf= alloc_compbuf(newx, newy, CB_RGBA, 0);
|
||||
|
||||
Reference in New Issue
Block a user