[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46539] branches/tile/source/blender/ compositor/operations/COM_DirectionalBlurOperation.cpp: TileBranch
Jeroen Bakker
j.bakker at atmind.nl
Fri May 11 08:51:23 CEST 2012
Revision: 46539
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46539
Author: jbakker
Date: 2012-05-11 06:51:22 +0000 (Fri, 11 May 2012)
Log Message:
-----------
TileBranch
* fix for [#31238] Directional Blur strange behaviours
Modified Paths:
--------------
branches/tile/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp
Modified: branches/tile/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp
===================================================================
--- branches/tile/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp 2012-05-11 06:38:43 UTC (rev 46538)
+++ branches/tile/source/blender/compositor/operations/COM_DirectionalBlurOperation.cpp 2012-05-11 06:51:22 UTC (rev 46539)
@@ -69,13 +69,10 @@
}
void DirectionalBlurOperation::executePixel(float* color, int x, int y, MemoryBuffer *inputBuffers[], void* data) {
- const int iterations = this->data->iter*this->data->iter;
+ const int iterations = pow(2, this->data->iter);
float col[4]= {0,0,0,0};
float col2[4]= {0,0,0,0};
- color[0] = 0;
- color[1] = 0;
- color[2] = 0;
- color[3] = 0;
+ this->inputProgram->read(col2, x, y, COM_PS_NEAREST, inputBuffers);
float ltx = tx;
float lty = ty;
float lsc = sc;
More information about the Bf-blender-cvs
mailing list