forked from bartvdbraak/blender
BGE: Fixing a bug that caused KX_GameObject.localTransform to give incorrect results.
This commit is contained in:
parent
14cc35d1ab
commit
53e4911ec8
@ -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);
|
KX_GameObject* self = static_cast<KX_GameObject*>(self_v);
|
||||||
|
|
||||||
double *mat = MT_CmMatrix4x4().getPointer();
|
double mat[16];
|
||||||
|
|
||||||
MT_Transform trans;
|
MT_Transform trans;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user