From 6badc77cb0de84286db9b0df365ff4e2c85ec7b9 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 25 Jun 2012 17:27:54 +0000 Subject: [PATCH] code cleanup --- .../blender/compositor/operations/COM_KeyingBlurOperation.cpp | 4 ++-- 1 file 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;