[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13273] branches/blender2.5/blender/source /gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp: game engine wasnt compiling

Chris Want cwant at ualberta.ca
Thu Jan 17 22:06:59 CET 2008


Campbell Barton wrote:
> Revision: 13273
>           http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13273
> Author:   campbellbarton
> Date:     2008-01-17 18:15:44 +0100 (Thu, 17 Jan 2008)
> 
> Log Message:
> -----------
> game engine wasnt compiling
> 
> Modified Paths:
> --------------
>     branches/blender2.5/blender/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
> 
> Modified: branches/blender2.5/blender/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
> ===================================================================
> --- branches/blender2.5/blender/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp	2008-01-17 16:22:37 UTC (rev 13272)
> +++ branches/blender2.5/blender/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp	2008-01-17 17:15:44 UTC (rev 13273)
> @@ -225,7 +225,7 @@
>  		}
>  		for (i = 0; i < 16; i++)
>  		{
> -			float *projmat_linear = (float*) area->winmat;
> +			float *projmat_linear; 			//XXX = (float*) area->winmat;
>  			projmat.setElem(i, projmat_linear[i]);
>  		}

Does this actually fix the problem? To me, it looks like you end up
referencing a bad address one line after the one that you modified.
I would say that turning off compiling the game engine would be
a much better solution than a potentially dangerous "fix".

Chris



More information about the Bf-committers mailing list