Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-06-14 02:15:44 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-06-14 02:15:44 +0400
commit53e4911ec88c16f30603b7ba53ee4ea5a7a1975d (patch)
tree850507212bf4422f420f3f7407cc2c3b1d4bc483 /source/gameengine/Ketsji/KX_GameObject.cpp
parent14cc35d1ab42f61cb8314e340a18a44e83fc1b79 (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.cpp2
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;