[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23649] trunk/blender: Merged Soc 2009 - raytrace optimization [0]

Matt Ebb matt at mke3.net
Tue Oct 6 06:39:21 CEST 2009


On Tue, Oct 6, 2009 at 12:56 PM, Andre Susano Pinto
<andresusanopinto at gmail.com> wrote:
> Revision: 23649
>          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23649
> Author:   jaguarandi
> Date:     2009-10-06 04:56:11 +0200 (Tue, 06 Oct 2009)
>
> Log Message:
> -----------
> Merged Soc 2009 - raytrace optimization [0]


Yay!

I get errors compiling in cmake / visual C, on win64 - gave invalid syntax.

I fixed it here with the patch, is this correct?


Index: rayshade.c
===================================================================
--- rayshade.c	(revision 23651)
+++ rayshade.c	(working copy)
@@ -134,7 +134,7 @@
 }

 #ifdef RE_RAYCOUNTER
-RayCounter re_rc_counter[BLENDER_MAX_THREADS] = {};
+RayCounter re_rc_counter[BLENDER_MAX_THREADS]; // = {};
 #endif


@@ -180,7 +180,7 @@
 	
 #ifdef RE_RAYCOUNTER
 	{
-		RayCounter sum = {};
+		RayCounter sum;// = {};
 		int i;
 		for(i=0; i<BLENDER_MAX_THREADS; i++)
 			RE_RC_MERGE(&sum, re_rc_counter+i);


More information about the Bf-committers mailing list