diff options
author | HG1 <HG1_public@gmx.net> | 2014-07-18 09:50:51 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2014-07-18 09:52:23 +0400 |
commit | 841ade32bee1ce9128b98c11d0fc3ae6d74aaf86 (patch) | |
tree | 38d9e7671ad90d38184563563bdbddf4a045d392 /source/gameengine/Ketsji/KX_ConstraintWrapper.h | |
parent | 12a0cccfbf188425153514b3b821198cae558992 (diff) |
BGE: Add missing documentation and attribute constraint_type for ConstraintWrapper
1. Add attribute to get the constraint type.
2. Add missing documentation for getParent, setParam, constraint_id in bge.types.KX_ConstraintWrapper.rst.
3. Add missing documentation for GENERIC_6DOF_CONSTRAINT and flag bit in bge.constraints.rst.
4. Fix typo in CcdPhysicsEnvironment.cpp
Reviewers: moguri
Reviewed By: moguri
Differential Revision: https://developer.blender.org/D654
Diffstat (limited to 'source/gameengine/Ketsji/KX_ConstraintWrapper.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_ConstraintWrapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_ConstraintWrapper.h b/source/gameengine/Ketsji/KX_ConstraintWrapper.h index eafc45b5a70..b7124c76439 100644 --- a/source/gameengine/Ketsji/KX_ConstraintWrapper.h +++ b/source/gameengine/Ketsji/KX_ConstraintWrapper.h @@ -49,6 +49,7 @@ public: KX_PYMETHOD(KX_ConstraintWrapper,GetParam); static PyObject *pyattr_get_constraintId(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); + static PyObject *pyattr_get_constraintType(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef); #endif private: |