diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-02-28 16:05:11 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-02-28 16:05:11 +0400 |
commit | 8b4f32f64f613ce06a977410f802b0a12b2d2382 (patch) | |
tree | bb6279e5b1e827d4523ffeea585fdde450c0b31f /source/blender/editors/space_node | |
parent | bccc528e233e717f23514bf06eb3bbed9a9af1e4 (diff) |
TileBranch
* Added a sampler node
With the sampler node it is possible to change image sample methods where you want.
Sampler only works for Images & MovieClips
- At Mind -
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index fbaba92d099..6a76f171369 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -1702,6 +1702,11 @@ static void node_composit_buts_view_levels(uiLayout *layout, bContext *UNUSED(C) uiItemR(layout, ptr, "channel", UI_ITEM_R_EXPAND, NULL, ICON_NONE); } +static void node_composit_buts_sampler(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) +{ + uiItemR(layout, ptr, "filter_type", 0, "", ICON_NONE); +} + static void node_composit_buts_colorcorrection(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { uiLayout *row; @@ -2254,6 +2259,9 @@ static void node_composit_set_butfunc(bNodeType *ntype) case CMP_NODE_BOKEHIMAGE: ntype->uifunc= node_composit_buts_bokehimage; break; + case CMP_NODE_SAMPLER: + ntype->uifunc= node_composit_buts_sampler; + break; case CMP_NODE_VIEWER: ntype->uifunc = NULL; ntype->uifuncbut= node_composit_buts_viewer_but; |