From e5e1d7bc9fcc939d4ef45e0cacd1071b1b07aae8 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Thu, 5 Jul 2012 09:39:06 +0000 Subject: Added a default margin to the tile dependancy of the lens distortion node. --- .../blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/compositor') diff --git a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp index 7ae5c385371..e70185f8fba 100644 --- a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp +++ b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp @@ -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 { -- cgit v1.2.3