Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2009-11-10 07:01:44 +0300
committerMatt Ebb <matt@mke3.net>2009-11-10 07:01:44 +0300
commitbc006655baf74ef0e22167a704899000b748c23f (patch)
tree8dc52b6f99446b2b49de57ca3a35e01f9cfcfbeb /source/blender/nodes
parentad409e5c7e3a235ed93f6927d960583521bc8f7d (diff)
* Finished (well, almost ;) RNA wrapping and layout-engine-ing all the nodes.
Still a few quirks, including redraw issues on multilayer image input nodes, but it's pretty much there. Would also be good to wrap the input/output sockets, too, will check on it. This fixes bug [#19740] INPUT NODE: Cannot load images / motion pictures
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c b/source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c
index ac940d76ed6..7b0476229fd 100644
--- a/source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c
+++ b/source/blender/nodes/intern/CMP_nodes/CMP_channelMatte.c
@@ -131,15 +131,15 @@ static void node_composit_exec_channel_matte(void *data, bNode *node, bNodeStack
/*convert to colorspace*/
switch(node->custom1) {
- case 1: /*RGB */
+ case CMP_NODE_CHANNEL_MATTE_CS_RGB:
break;
- case 2: /*HSV*/
+ case CMP_NODE_CHANNEL_MATTE_CS_HSV: /*HSV*/
composit1_pixel_processor(node, outbuf, cbuf, in[1]->vec, do_rgba_to_hsva, CB_RGBA);
break;
- case 3: /*YUV*/
+ case CMP_NODE_CHANNEL_MATTE_CS_YUV: /*YUV*/
composit1_pixel_processor(node, outbuf, cbuf, in[1]->vec, do_rgba_to_yuva, CB_RGBA);
break;
- case 4: /*YCC*/
+ case CMP_NODE_CHANNEL_MATTE_CS_YCC: /*YCC*/
composit1_pixel_processor(node, outbuf, cbuf, in[1]->vec, do_normalized_rgba_to_ycca2, CB_RGBA);
break;
default:
@@ -151,15 +151,15 @@ static void node_composit_exec_channel_matte(void *data, bNode *node, bNodeStack
/*convert back to RGB colorspace in place*/
switch(node->custom1) {
- case 1: /*RGB*/
+ case CMP_NODE_CHANNEL_MATTE_CS_RGB: /*RGB*/
break;
- case 2: /*HSV*/
+ case CMP_NODE_CHANNEL_MATTE_CS_HSV: /*HSV*/
composit1_pixel_processor(node, outbuf, outbuf, in[1]->vec, do_hsva_to_rgba, CB_RGBA);
break;
- case 3: /*YUV*/
+ case CMP_NODE_CHANNEL_MATTE_CS_YUV: /*YUV*/
composit1_pixel_processor(node, outbuf, outbuf, in[1]->vec, do_yuva_to_rgba, CB_RGBA);
break;
- case 4: /*YCC*/
+ case CMP_NODE_CHANNEL_MATTE_CS_YCC: /*YCC*/
composit1_pixel_processor(node, outbuf, outbuf, in[1]->vec, do_normalized_ycca_to_rgba2, CB_RGBA);
break;
default: