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
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-06-25 21:27:54 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-06-25 21:27:54 +0400
commit6badc77cb0de84286db9b0df365ff4e2c85ec7b9 (patch)
tree3e1fe6a40aa1003c659beda64abfbaacf772806f /source
parent2e7f7d177ad5597b639a2b713ee8e67abb14e235 (diff)
code cleanup
Diffstat (limited to 'source')
-rw-r--r--source/blender/compositor/operations/COM_KeyingBlurOperation.cpp4
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;