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:
Diffstat (limited to 'source/gameengine/GameLogic/SCA_IObject.h')
-rw-r--r--source/gameengine/GameLogic/SCA_IObject.h6
1 files changed, 6 insertions, 0 deletions
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