[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16285] trunk/blender/source/gameengine/ Ketsji/KX_GameObject.cpp: final fix for compilation problem with KX_RayCast ::Callback template in gcc

Benoit Bolsee benoit.bolsee at online.be
Thu Aug 28 13:13:14 CEST 2008


Revision: 16285
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16285
Author:   ben2610
Date:     2008-08-28 13:13:04 +0200 (Thu, 28 Aug 2008)

Log Message:
-----------
final fix for compilation problem with KX_RayCast::Callback template in gcc

Modified Paths:
--------------
    trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp

Modified: trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp	2008-08-28 11:06:46 UTC (rev 16284)
+++ trunk/blender/source/gameengine/Ketsji/KX_GameObject.cpp	2008-08-28 11:13:04 UTC (rev 16285)
@@ -1721,7 +1721,8 @@
 		m_testPropName = propName;
 	else
 		m_testPropName.SetLength(0);
-	KX_RayCast::RayTest(pe, fromPoint, toPoint, KX_RayCast::Callback<KX_GameObject>(this,spc));
+	KX_RayCast::Callback<KX_GameObject> callback(this,spc);
+	KX_RayCast::RayTest(pe, fromPoint, toPoint, callback);
 
     if (m_pHitObject)
 	{





More information about the Bf-blender-cvs mailing list