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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-16 18:40:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-16 18:40:16 +0400
commit6fc277c410d5ee4d13562e4b8b260bc0929f30f5 (patch)
tree5c7af757a8ae2c4d55fed565ef058843fef05209 /source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h
parente946fa443b5aab057bfe5f40f8bb4f346c84331e (diff)
support for negative feather dilate/erode
Diffstat (limited to 'source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h b/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h
index 2b5e4d33673..3268e51be01 100644
--- a/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h
+++ b/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.h
@@ -30,6 +30,7 @@ class GaussianAlphaXBlurOperation : public BlurBaseOperation {
private:
float *gausstab;
float *distbuf_inv;
+ bool do_subtract;
int rad;
void updateGauss(MemoryBuffer **memoryBuffers);
public:
@@ -52,5 +53,10 @@ public:
void *initializeTileData(rcti *rect, MemoryBuffer **memoryBuffers);
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
+
+ /**
+ * Set subtract for Dilate/Erode functionality
+ */
+ void setSubtract(bool subtract) { this->do_subtract = subtract; }
};
#endif