diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-06-14 02:15:44 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-06-14 02:15:44 +0400 |
commit | 53e4911ec88c16f30603b7ba53ee4ea5a7a1975d (patch) | |
tree | 850507212bf4422f420f3f7407cc2c3b1d4bc483 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | 14cc35d1ab42f61cb8314e340a18a44e83fc1b79 (diff) |
BGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<KX_GameObject*>(self_v); - double *mat = MT_CmMatrix4x4().getPointer(); + double mat[16]; MT_Transform trans; |