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>2009-02-19 13:34:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-19 13:34:51 +0300
commitc597863783e1001dca599e6dcbc28048f0ef4ce1 (patch)
tree27f32990749220c09a410639bc9b8985579e2430 /source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h
parent92d4ef0939c82e5654f899fe8e55e7a2cccbf6a0 (diff)
"object" and "objectLastCreated" attribute for actuators, deprecates getObject/setObject() & getLastCreatedObject()
also removed some warnings
Diffstat (limited to 'source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h')
-rw-r--r--source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h
index 278d4180284..035f44f16c9 100644
--- a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h
+++ b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h
@@ -60,13 +60,16 @@ class KX_SCA_AddObjectActuator : public SCA_IActuator
/// Linear velocity upon creation of the object.
MT_Vector3 m_linear_velocity;
+ /// Apply the velocity locally
+ bool m_localLinvFlag;
/// Angular velocity upon creation of the object.
MT_Vector3 m_angular_velocity;
-
/// Apply the velocity locally
- bool m_localLinvFlag;
- bool m_localAngvFlag;
+ bool m_localAngvFlag;
+
+
+
SCA_IObject* m_lastCreatedObject;
@@ -107,10 +110,8 @@ public:
virtual bool
Update();
- virtual PyObject*
- _getattr(
- const STR_String& attr
- );
+ virtual PyObject* _getattr(const STR_String& attr);
+ virtual int _setattr(const STR_String& attr, PyObject* value);
SCA_IObject*
GetLastCreatedObject(