diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_KeyingBlurOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_KeyingBlurOperation.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_KeyingBlurOperation.h b/source/blender/compositor/operations/COM_KeyingBlurOperation.h index 2848f260cbd..41ccb465eab 100644 --- a/source/blender/compositor/operations/COM_KeyingBlurOperation.h +++ b/source/blender/compositor/operations/COM_KeyingBlurOperation.h @@ -32,11 +32,18 @@ class KeyingBlurOperation : public NodeOperation { protected: int size; + int axis; public: + enum BlurAxis { + BLUR_AXIS_X = 0, + BLUR_AXIS_Y = 1 + }; + KeyingBlurOperation(); - void setSize(float value) {this->size = value;} + void setSize(int value) {this->size = value;} + void setAxis(int value) {this->axis = value;} void *initializeTileData(rcti *rect, MemoryBuffer **memoryBuffers); |