From d38329b5aa6be472ea49c3a52b61875a772a6c9a Mon Sep 17 00:00:00 2001 From: Kester Maddock Date: Sun, 30 May 2004 11:09:46 +0000 Subject: Added Python module for Lights. Added attributes to the vertex class. --- source/gameengine/Ketsji/KX_VertexProxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/gameengine/Ketsji/KX_VertexProxy.h') diff --git a/source/gameengine/Ketsji/KX_VertexProxy.h b/source/gameengine/Ketsji/KX_VertexProxy.h index f447014b8b8..29fee7d6ae7 100644 --- a/source/gameengine/Ketsji/KX_VertexProxy.h +++ b/source/gameengine/Ketsji/KX_VertexProxy.h @@ -37,6 +37,7 @@ class KX_VertexProxy : public SCA_IObject { Py_Header; +protected: class RAS_TexVert* m_vertex; public: @@ -56,6 +57,7 @@ public: // stuff for python integration virtual PyObject* _getattr(const STR_String& attr); + virtual int KX_VertexProxy::_setattr(const STR_String& attr, PyObject *pyvalue); KX_PYMETHOD(KX_VertexProxy,GetXYZ); KX_PYMETHOD(KX_VertexProxy,SetXYZ); -- cgit v1.2.3