diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-02-10 21:54:49 +0300 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-02-10 21:54:49 +0300 |
commit | cbe53cc48d5e4460c2d04d1344bd30a882b2cadb (patch) | |
tree | 1756e0745264fa298165d003dc374e2635e5c2ed /source/blender/makesdna | |
parent | f7595e98828c1e47db934f61cae6dfe65e1b950c (diff) |
More options for the blur node filter size. This can now be pixel based or relative to both axes or just either width or height.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 0d7edbbce97..85523c3369f 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -216,7 +216,7 @@ typedef struct NodeImageAnim { typedef struct NodeBlurData { short sizex, sizey; - short samples, maxspeed, minspeed, relative; + short samples, maxspeed, minspeed, size_type; float fac, percentx, percenty; short filtertype; char bokeh, gamma; @@ -336,4 +336,10 @@ typedef struct TexNodeOutput { #define CMP_NODE_CHANNEL_MATTE_CS_YUV 3 #define CMP_NODE_CHANNEL_MATTE_CS_YCC 4 +/* comp blur relative filter size */ +#define CMP_NODE_BLUR_SIZE_PIXEL 0 +#define CMP_NODE_BLUR_SIZE_WIDTH 1 +#define CMP_NODE_BLUR_SIZE_HEIGHT 2 +#define CMP_NODE_BLUR_SIZE_BOTH 3 + #endif |