- assigning vectors in the BGE wasn't updating the vector from the callback
[blender.git] / source / gameengine / Ketsji / KX_Light.h
index 358c705080aa732b7f0842f9a32b268704684aee..0b7ccbe81abcebdf5359e297eb7af56dbbe035f6 100644 (file)
@@ -49,7 +49,7 @@ protected:
        Scene*                          m_blenderscene;
 
 public:
-       KX_LightObject(void* sgReplicationInfo,SG_Callbacks callbacks,class RAS_IRenderTools* rendertools,const struct RAS_LightObject& lightobj, bool glsl, PyTypeObject *T = &Type);
+       KX_LightObject(void* sgReplicationInfo,SG_Callbacks callbacks,class RAS_IRenderTools* rendertools,const struct RAS_LightObject& lightobj, bool glsl);
        virtual ~KX_LightObject();
        virtual CValue*         GetReplica();
        RAS_LightObject*        GetLightData() { return &m_lightobj;}
@@ -64,10 +64,6 @@ public:
        void BindShadowBuffer(class RAS_IRasterizer *ras, class KX_Camera *cam, class MT_Transform& camtrans);
        void UnbindShadowBuffer(class RAS_IRasterizer *ras);
        void Update();
-       
-       virtual PyObject* py_getattro(PyObject *attr); /* lens, near, far, projection_matrix */
-       virtual PyObject* py_getattro_dict();
-       virtual int       py_setattro(PyObject *attr, PyObject *pyvalue);
 
        /* attributes */
        static PyObject*        pyattr_get_color(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef);