[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51505] trunk/blender/source/blender/ render/intern/source/rendercore.c: Bugfix #30378

Ton Roosendaal ton at blender.org
Mon Oct 22 16:49:38 CEST 2012


Revision: 51505
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51505
Author:   ton
Date:     2012-10-22 14:49:37 +0000 (Mon, 22 Oct 2012)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/render/intern/source/rendercore.c

Modified: trunk/blender/source/blender/render/intern/source/rendercore.c
===================================================================
--- trunk/blender/source/blender/render/intern/source/rendercore.c	2012-10-22 14:28:43 UTC (rev 51504)
+++ trunk/blender/source/blender/render/intern/source/rendercore.c	2012-10-22 14:49:37 UTC (rev 51505)
@@ -185,7 +185,8 @@
 	
 	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) {




More information about the Bf-blender-cvs mailing list