diff options
author | Ton Roosendaal <ton@blender.org> | 2012-10-22 18:49:37 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-10-22 18:49:37 +0400 |
commit | 63f042250f22eb6a60604f04e0b6955124cd34b4 (patch) | |
tree | e3d544b1c3ae02a97d11da2f6a4ba11f2a364a40 /source/blender/render | |
parent | fc5da14dad0256064a4778694af873fe48ab4fb2 (diff) |
Bugfix #30378
Full Sample Antialiasing render gave fireflies with halos - especially on edges of polygons.
Reason was FSA exception case in code, using uninitialized color array.
Probably these fireflies were hunting us already for many many years.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/rendercore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/rendercore.c b/source/blender/render/intern/source/rendercore.c index a83a76796b9..37e21d072ee 100644 --- a/source/blender/render/intern/source/rendercore.c +++ b/source/blender/render/intern/source/rendercore.c @@ -185,7 +185,8 @@ static void halo_pixelstruct(HaloRen *har, RenderLayer **rlpp, int totsample, in fullsample= (totsample > 1); amount= 0; - accol[0]=accol[1]=accol[2]=accol[3]= 0.0f; + accol[0] = accol[1] = accol[2] = accol[3]= 0.0f; + col[0] = col[1] = col[2] = col[3]= 0.0f; flarec= har->flarec; while (ps) { |