forked from bartvdbraak/blender
joeedh (Joe Eagar) found a problem with blur node where image offsets
from translate node (and others I assume) were not preserved. I commit because his node_composite.c is tainted with pynode stuff. Thanks Joe!
This commit is contained in:
parent
61c8471ebd
commit
c1bf780dd7
@ -3102,6 +3102,10 @@ static void node_composit_exec_blur(void *data, bNode *node, bNodeStack **in, bN
|
||||
/* make output size of input image */
|
||||
new= alloc_compbuf(img->x, img->y, img->type, 1); /* allocs */
|
||||
|
||||
/* accept image offsets from other nodes */
|
||||
new->xof = img->xof;
|
||||
new->yof = img->yof;
|
||||
|
||||
blur_with_reference(new, img, in[1]->data, node->storage);
|
||||
|
||||
out[0]->data= new;
|
||||
|
Loading…
Reference in New Issue
Block a user