diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-07-04 23:00:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-07-04 23:00:56 +0400 |
commit | 107b78a3d2b1a37f91b1e46511a3ea29f7f5cbbf (patch) | |
tree | fbd691e8bb0b3fc899fa88354f1ce7bd3db70a02 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | 733b4c935139577444d06d9f99a560107b4c587e (diff) |
Made some python game engine funcs use NOARGS, getAxisVec was using wrong multiplication order.
Use BUT_TOGDUAL for controllers init states so you can see what the init state is for any controller without using the button to check.
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 d6d2254850a..507cedcd5d3 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -1413,7 +1413,7 @@ PyObject* KX_GameObject::PyGetAxisVect(PyObject* self, PyObject* value) MT_Vector3 vect; if (PyVecTo(value, vect)) { - return PyObjectFrom(vect * NodeGetWorldOrientation()); + return PyObjectFrom(NodeGetWorldOrientation() * vect); } return NULL; } |