From 6a98b9215cc039f6c6fe0cba011d6783fbd6d7ab Mon Sep 17 00:00:00 2001 From: Benoit Bolsee Date: Thu, 28 Aug 2008 11:13:04 +0000 Subject: final fix for compilation problem with KX_RayCast::Callback template in gcc --- source/gameengine/Ketsji/KX_GameObject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji') diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 51322f8429e..c1b228e8d26 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -1721,7 +1721,8 @@ KX_PYMETHODDEF_DOC(KX_GameObject, rayCastTo, m_testPropName = propName; else m_testPropName.SetLength(0); - KX_RayCast::RayTest(pe, fromPoint, toPoint, KX_RayCast::Callback(this,spc)); + KX_RayCast::Callback callback(this,spc); + KX_RayCast::RayTest(pe, fromPoint, toPoint, callback); if (m_pHitObject) { -- cgit v1.2.3