removing 2 getset duplicates

This commit is contained in:
Campbell Barton 2007-07-20 02:23:55 +00:00
parent 6e0d977977
commit f8a1397b67
2 changed files with 0 additions and 13 deletions

@ -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,

@ -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 );