diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-10-27 18:47:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-10-27 18:47:58 +0300 |
commit | 2e96728843d01fa0e8c79133b0e7f943930405de (patch) | |
tree | 3694c8af2120e0206006901b21592b0c516e4106 /source/gameengine/Ketsji/KX_GameObject.h | |
parent | 71260b6603b1edfdbae57bfaa7d7388af366b17e (diff) |
face transp option CLIP wasnt added to the py api.
added gameObject.replaceMesh(meshname) - needed this for an automatically generated scene where 100's of objects would have needed logic bricks automatically added. Quicker to run replace mesh on all of them from 1 script.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 472d31362dd..20b15787d27 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -801,6 +801,7 @@ public: KX_PYMETHOD_VARARGS(KX_GameObject,GetMesh); KX_PYMETHOD_NOARGS(KX_GameObject,GetPhysicsId); KX_PYMETHOD_NOARGS(KX_GameObject,GetPropertyNames); + KX_PYMETHOD_O(KX_GameObject,ReplaceMesh); KX_PYMETHOD_NOARGS(KX_GameObject,EndObject); KX_PYMETHOD_DOC(KX_GameObject,rayCastTo); KX_PYMETHOD_DOC(KX_GameObject,rayCast); |