* 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:
Matt Ebb
2008-01-22 06:27:27 +00:00
parent b778daed81
commit d11cd3108b

View File

@@ -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;
}