diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-25 21:27:54 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-25 21:27:54 +0400 |
commit | 6badc77cb0de84286db9b0df365ff4e2c85ec7b9 (patch) | |
tree | 3e1fe6a40aa1003c659beda64abfbaacf772806f /source/blender/compositor/operations/COM_KeyingBlurOperation.cpp | |
parent | 2e7f7d177ad5597b639a2b713ee8e67abb14e235 (diff) |
code cleanup
Diffstat (limited to 'source/blender/compositor/operations/COM_KeyingBlurOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_KeyingBlurOperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp b/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp index eb956403e1f..4f78e23d86b 100644 --- a/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp @@ -34,7 +34,7 @@ KeyingBlurOperation::KeyingBlurOperation() : NodeOperation() this->addOutputSocket(COM_DT_VALUE); this->size = 0; - this->axis = 0; + this->axis = BLUR_AXIS_X; this->setComplex(true); } @@ -92,7 +92,7 @@ bool KeyingBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBuff { rcti newInput; - if (this->axis == 0) { + if (this->axis == BLUR_AXIS_X) { newInput.xmin = input->xmin - this->size; newInput.ymin = input->ymin; newInput.xmax = input->xmax + this->size; |