From 841ade32bee1ce9128b98c11d0fc3ae6d74aaf86 Mon Sep 17 00:00:00 2001 From: HG1 Date: Thu, 17 Jul 2014 22:50:51 -0700 Subject: 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 --- source/gameengine/Ketsji/KX_ConstraintWrapper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/gameengine/Ketsji/KX_ConstraintWrapper.h') 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: -- cgit v1.2.3