[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48628] trunk/blender/source/blender/ compositor/operations/COM_ScreenLensDistortionOperation.cpp: Added a default margin to the tile dependancy of the lens distortion

Jeroen Bakker j.bakker at atmind.nl
Thu Jul 5 11:39:07 CEST 2012


Revision: 48628
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48628
Author:   jbakker
Date:     2012-07-05 09:39:06 +0000 (Thu, 05 Jul 2012)
Log Message:
-----------
Added a default margin to the tile dependancy of the lens distortion
node.

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp

Modified: trunk/blender/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp	2012-07-05 08:56:29 UTC (rev 48627)
+++ trunk/blender/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp	2012-07-05 09:39:06 UTC (rev 48628)
@@ -256,7 +256,7 @@
 		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 
 	{




More information about the Bf-blender-cvs mailing list