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:
authorTon Roosendaal <ton@blender.org>2012-10-22 18:49:37 +0400
committerTon Roosendaal <ton@blender.org>2012-10-22 18:49:37 +0400
commit63f042250f22eb6a60604f04e0b6955124cd34b4 (patch)
treee3d544b1c3ae02a97d11da2f6a4ba11f2a364a40
parentfc5da14dad0256064a4778694af873fe48ab4fb2 (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.
-rw-r--r--source/blender/render/intern/source/rendercore.c3
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) {