diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-21 11:45:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-21 11:45:41 +0400 |
commit | fae0b2068b2287fdce76116ff5e0503040f5be61 (patch) | |
tree | 9e232485fe84e8261402ef26fa5ee66c23c78140 /source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h | |
parent | 19e81b12e774d800cff8e5de7b450f65d108a451 (diff) |
falloff options for dilate/erode feather compo node.
Diffstat (limited to 'source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h b/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h index 0ffc264ba98..67166be8241 100644 --- a/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h +++ b/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.h @@ -31,6 +31,7 @@ private: float *gausstab; float *distbuf_inv; bool do_subtract; + int falloff; int rad; void updateGauss(MemoryBuffer **memoryBuffers); public: @@ -58,5 +59,6 @@ public: * Set subtract for Dilate/Erode functionality */ void setSubtract(bool subtract) { this->do_subtract = subtract; } + void setFalloff(int falloff) { this->falloff = falloff; } }; #endif |