From ede20c166a4fcaedaaf5c5392d00e3a99ecc8ad2 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Thu, 11 May 2006 17:58:23 +0000 Subject: - Charlie provided a work-around for some armature related crashes - fixed some Bullet raycasting (hitfraction was not properly updated for static meshes) - removed some cvs tags in Bullet's BMF _Font files (they keep on conflicting when duplicated in different repositories) - set default linearsleepingtreshold explicitly --- source/gameengine/GameLogic/SCA_IObject.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/gameengine/GameLogic/SCA_IObject.h') diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h index f57201ba59d..aed1d87b929 100644 --- a/source/gameengine/GameLogic/SCA_IObject.h +++ b/source/gameengine/GameLogic/SCA_IObject.h @@ -116,7 +116,13 @@ public: // here come the python forwarded methods virtual PyObject* _getattr(const STR_String& attr); + + virtual int GetGameObjectType() {return -1;} + typedef enum ObjectTypes { + OBJ_ARMATURE=0 + }ObjectTypes; + }; #endif //SCA_IOBJECT_H -- cgit v1.2.3