Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-07-05 13:39:06 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-07-05 13:39:06 +0400
commite5e1d7bc9fcc939d4ef45e0cacd1071b1b07aae8 (patch)
tree1516d4dcd92b4febc06127d9eb7c6299a5e37965 /source/blender/compositor
parent5e0f7467e9cc483a6fcf3ac352f4fad57f3549e3 (diff)
Added a default margin to the tile dependancy of the lens distortion
node.
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp2
1 files changed, 1 insertions, 1 deletions
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
{