Added a default margin to the tile dependancy of the lens distortion
authorJeroen Bakker <j.bakker@atmind.nl>
Thu, 5 Jul 2012 09:39:06 +0000 (09:39 +0000)
committerJeroen Bakker <j.bakker@atmind.nl>
Thu, 5 Jul 2012 09:39:06 +0000 (09:39 +0000)
node.

source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp

index 7ae5c3853717a72dc3f2047ad163c427ff87b46a..e70185f8fba38f6c461dc7f943ba198c0a837673 100644 (file)
@@ -256,7 +256,7 @@ bool ScreenLensDistortionOperation::determineDependingAreaOfInterest(rcti *input
                UPDATE_INPUT;
                determineUV(coords, input->xmax, input->ymin);
                UPDATE_INPUT;
-               margin = (ABS(this->m_distortion) + this->m_dispersion) * MARGIN;
+               margin = (ABS(this->m_distortion) + this->m_dispersion) * MARGIN + 2.0f;
        } 
        else 
        {