diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 4f7404f90f4..1b69df657fc 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -5036,10 +5036,6 @@ static PyGetSetDef BPy_Object_getseters[] = { (getter)Object_getRBHalfExtents, (setter)NULL, "Rigid body physics bounds object type", NULL}, - {"type", - (getter)Object_getType, (setter)NULL, - "String describing Object type", - NULL}, {"restrictDisplay", (getter)Object_getRestricted, (setter)Object_setRestricted, diff --git a/source/blender/python/api2_2x/Texture.c b/source/blender/python/api2_2x/Texture.c index 1387b630a2c..74116938df5 100644 --- a/source/blender/python/api2_2x/Texture.c +++ b/source/blender/python/api2_2x/Texture.c @@ -687,10 +687,6 @@ static PyGetSetDef BPy_Texture_getseters[] = { (getter)Texture_getType, (setter)Texture_setType, "Texture's 'Type' mode", NULL}, - {"users", - (getter)Texture_getUsers, (setter)NULL, - "Number of texture users", - NULL}, {"weight1", (getter)Texture_getWeight1, (setter)Texture_setWeight1, "Weight 1 (for Voronoi textures)", @@ -2198,11 +2194,6 @@ static PyObject *Texture_getType( BPy_Texture *self ) return PyInt_FromLong( self->texture->type ); } -static PyObject *Texture_getUsers( BPy_Texture *self ) -{ - return PyInt_FromLong( self->texture->id.us ); -} - static PyObject *Texture_getWeight1( BPy_Texture *self ) { return PyFloat_FromDouble( self->texture->vn_w1 );