Revision: 48078
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48078
Author:   campbellbarton
Date:     2012-06-19 13:20:06 +0000 (Tue, 19 Jun 2012)
Log Message:
-----------
fix for uninitialized memory use in the new compositor.

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-06-19 12:19:49 UTC (rev 48077)
+++ 
trunk/blender/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp
    2012-06-19 13:20:06 UTC (rev 48078)
@@ -47,9 +47,9 @@
        drg = 4.f * (kg - kr);
        dgb = 4.f * (kb - kg);
 
-       kr4 = kr * 4;
+       kr4 = kr * 4.f;
        kg4 = kg * 4.f;
-       kb4 *= kb * 4.f;
+       kb4 = kb * 4.f;
        cx = 0.5f * (float)getWidth();
        cy = 0.5f * (float)getHeight();
 

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

Reply via email to