diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-28 15:13:04 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-08-28 15:13:04 +0400 |
commit | 6a98b9215cc039f6c6fe0cba011d6783fbd6d7ab (patch) | |
tree | 860be8f2f761201ee637955279677e8b24bbf907 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | 116001ac34ca468bb49451f995cca3158c7e7c1b (diff) |
final fix for compilation problem with KX_RayCast::Callback template in gcc
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<KX_GameObject>(this,spc)); + KX_RayCast::Callback<KX_GameObject> callback(this,spc); + KX_RayCast::RayTest(pe, fromPoint, toPoint, callback); if (m_pHitObject) { |