[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48281] trunk/blender/source/blender/ compositor/operations/COM_KeyingBlurOperation.cpp: code cleanup

Jeroen Bakker j.bakker at atmind.nl
Mon Jun 25 19:27:55 CEST 2012


Revision: 48281
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48281
Author:   jbakker
Date:     2012-06-25 17:27:54 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
code cleanup

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp

Modified: trunk/blender/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp	2012-06-25 17:26:32 UTC (rev 48280)
+++ trunk/blender/source/blender/compositor/operations/COM_KeyingBlurOperation.cpp	2012-06-25 17:27:54 UTC (rev 48281)
@@ -34,7 +34,7 @@
 	this->addOutputSocket(COM_DT_VALUE);
 
 	this->size = 0;
-	this->axis = 0;
+	this->axis = BLUR_AXIS_X;
 
 	this->setComplex(true);
 }
@@ -92,7 +92,7 @@
 {
 	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;




More information about the Bf-blender-cvs mailing list