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:
authorCampbell Barton <ideasman42@gmail.com>2008-07-04 23:00:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-07-04 23:00:56 +0400
commit107b78a3d2b1a37f91b1e46511a3ea29f7f5cbbf (patch)
treefbd691e8bb0b3fc899fa88354f1ce7bd3db70a02 /source/gameengine/Ketsji/KX_GameObject.cpp
parent733b4c935139577444d06d9f99a560107b4c587e (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.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 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;
}