diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-17 16:37:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-17 16:37:06 +0300 |
commit | 7a66002753e8da11e53cb8cdad28bde606847758 (patch) | |
tree | 2001f2f686712264397c5ace5a595621fb4620fe /source/blender/nodes/intern/CMP_nodes/CMP_filter.c | |
parent | 8020515ab2bf52aedc4250a51f7f928f057092e4 (diff) |
2.5
Node/Composite tinkering:
- titles in headers and on collapsed nodes back
- backdrop option draws again (no scroll operator yet)
- added preview option in blur, filter and mix nodes.
Just for fun while working :) Probably every node
should get this...
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_filter.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_filter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_filter.c b/source/blender/nodes/intern/CMP_nodes/CMP_filter.c index 6011ac3b58a..2c3b78e13a3 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_filter.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_filter.c @@ -211,6 +211,8 @@ static void node_composit_exec_filter(void *data, bNode *node, bNodeStack **in, } out[0]->data= stackbuf; + + generate_preview(node, out[0]->data); } } @@ -220,7 +222,7 @@ bNodeType cmp_node_filter= { /* type code */ CMP_NODE_FILTER, /* name */ "Filter", /* width+range */ 80, 40, 120, - /* class+opts */ NODE_CLASS_OP_FILTER, NODE_OPTIONS, + /* class+opts */ NODE_CLASS_OP_FILTER, NODE_PREVIEW|NODE_OPTIONS, /* input sock */ cmp_node_filter_in, /* output sock */ cmp_node_filter_out, /* storage */ "", |