removing 2 getset duplicates
This commit is contained in:
parent
6e0d977977
commit
f8a1397b67
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user