Revision: 46538
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46538
Author:   jbakker
Date:     2012-05-11 06:38:43 +0000 (Fri, 11 May 2012)
Log Message:
-----------
TileBranch
 * fix issue with bilateral blur (when sigma space + iteration was to small, 
black spots appeared.

Modified Paths:
--------------
    
branches/tile/source/blender/compositor/operations/COM_BilateralBlurOperation.cpp

Modified: 
branches/tile/source/blender/compositor/operations/COM_BilateralBlurOperation.cpp
===================================================================
--- 
branches/tile/source/blender/compositor/operations/COM_BilateralBlurOperation.cpp
   2012-05-11 05:27:23 UTC (rev 46537)
+++ 
branches/tile/source/blender/compositor/operations/COM_BilateralBlurOperation.cpp
   2012-05-11 06:38:43 UTC (rev 46538)
@@ -104,11 +104,12 @@
 
 bool BilateralBlurOperation::determineDependingAreaOfInterest(rcti *input, 
ReadBufferOperation *readOperation, rcti *output) {
        rcti newInput;
+       int add = ceil(this->space)+1;
 
-       newInput.xmax = input->xmax + (this->space);
-       newInput.xmin = input->xmin - (this->space);
-       newInput.ymax = input->ymax + (this->space);
-       newInput.ymin = input->ymin - (this->space);
+       newInput.xmax = input->xmax + (add);
+       newInput.xmin = input->xmin - (add);
+       newInput.ymax = input->ymax + (add);
+       newInput.ymin = input->ymin - (add);
 
        return NodeOperation::determineDependingAreaOfInterest(&newInput, 
readOperation, output);
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to