diff options
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_colorMatte.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_colorMatte.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_colorMatte.c b/source/blender/nodes/intern/CMP_nodes/CMP_colorMatte.c index 44f690e1fa6..8d5f4688657 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_colorMatte.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_colorMatte.c @@ -51,10 +51,10 @@ static void do_color_key(bNode *node, float *out, float *in) VECCOPY(out, in); if(fabs(in[0]-c->key[0]) < c->t1 && - fabs(in[1]-c->key[1]) < c->t2 && - fabs(in[2]-c->key[2]) < c->t3) + fabs(in[1]-c->key[1]) < c->t2 && + fabs(in[2]-c->key[2]) < c->t3) { - out[3]=0.0; /*make transparent*/ + out[3]=0.0; /*make transparent*/ } else { /*pixel is outside key color */ |