svn merge -r 20133:20486 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / source / blender / render / intern / source / rendercore.c
index 9fbb585fd0276cab292d5e7c36ad8c12c0541d44..547156f6c768c684948c7ecf59757f184dd49fa5 100644 (file)
@@ -704,7 +704,7 @@ static void atm_tile(RenderPart *pa, RenderLayer *rl)
                        for(sample=0; sample<totsample; sample++) {
                                float *zrect= RE_RenderLayerGetPass(rlpp[sample], SCE_PASS_Z) + od;
                                float *rgbrect = rlpp[sample]->rectf + 4*od;
-                               float rgb[3];
+                               float rgb[3] = {0};
                                int done= 0;
                                
                                for(go=R.lights.first; go; go= go->next) {