From 53e4911ec88c16f30603b7ba53ee4ea5a7a1975d Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Thu, 13 Jun 2013 22:15:44 +0000 Subject: BGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results. --- source/gameengine/Ketsji/KX_GameObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp') diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 91488eb684a..871318bcedc 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -2280,7 +2280,7 @@ PyObject *KX_GameObject::pyattr_get_localTransform(void *self_v, const KX_PYATTR { KX_GameObject* self = static_cast(self_v); - double *mat = MT_CmMatrix4x4().getPointer(); + double mat[16]; MT_Transform trans; -- cgit v1.2.3