diff options
author | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-01-14 01:56:26 +0300 |
---|---|---|
committer | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-01-14 01:56:26 +0300 |
commit | 611b583acc7870780a1d7e0645e438dacd0dbedf (patch) | |
tree | 3967f58896587dfb38fe04ad9bb316f8789d551d /source/blender/blenkernel/intern/node.c | |
parent | 0535c2c8ad97c4204343966b580e54366e47864a (diff) |
Re-added the Luma keyer after realizing channeldid not exactly same capability and could not without sgnificant change.
Diffstat (limited to 'source/blender/blenkernel/intern/node.c')
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 0373be2d9ad..b403cf9b211 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -896,6 +896,12 @@ bNode *nodeAddNodeType(bNodeTree *ntree, int type, bNodeTree *ngroup) node->custom1= 1; /* RGB channel */ node->custom2= 2; /* Green Channel */ } + else if(type==CMP_NODE_LUMA_MATTE){ + NodeChroma *c= MEM_callocN(sizeof(NodeChroma), "node chroma"); + node->storage=c; + c->t1= 0.0f; + c->t2= 0.0f; + } } return node; |