* Fix for bilateral blur node
The 'Determinator' input didn't work at all - there was some quite weird code in there. I think the patch review process could have been quite a bit better on this one.
This commit is contained in:
@@ -107,9 +107,8 @@ static void node_composit_exec_bilateralblur(void *data, bNode *node, bNodeStack
|
||||
step= pix * imgx;
|
||||
|
||||
if(refimg) {
|
||||
refimg= img;
|
||||
if(refimg->x == imgx && refimg->y == imgy) {
|
||||
if(refimg->type == CB_VEC2 || refimg->type == CB_VEC3) {
|
||||
if(ELEM3(refimg->type, CB_VAL, CB_VEC2, CB_VEC3)) {
|
||||
refimg= typecheck_compbuf(in[1]->data, CB_RGBA);
|
||||
found_determinator= 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user