removing 2 getset duplicates
This commit is contained in:
@@ -5036,10 +5036,6 @@ static PyGetSetDef BPy_Object_getseters[] = {
|
|||||||
(getter)Object_getRBHalfExtents, (setter)NULL,
|
(getter)Object_getRBHalfExtents, (setter)NULL,
|
||||||
"Rigid body physics bounds object type",
|
"Rigid body physics bounds object type",
|
||||||
NULL},
|
NULL},
|
||||||
{"type",
|
|
||||||
(getter)Object_getType, (setter)NULL,
|
|
||||||
"String describing Object type",
|
|
||||||
NULL},
|
|
||||||
|
|
||||||
{"restrictDisplay",
|
{"restrictDisplay",
|
||||||
(getter)Object_getRestricted, (setter)Object_setRestricted,
|
(getter)Object_getRestricted, (setter)Object_setRestricted,
|
||||||
|
|||||||
@@ -687,10 +687,6 @@ static PyGetSetDef BPy_Texture_getseters[] = {
|
|||||||
(getter)Texture_getType, (setter)Texture_setType,
|
(getter)Texture_getType, (setter)Texture_setType,
|
||||||
"Texture's 'Type' mode",
|
"Texture's 'Type' mode",
|
||||||
NULL},
|
NULL},
|
||||||
{"users",
|
|
||||||
(getter)Texture_getUsers, (setter)NULL,
|
|
||||||
"Number of texture users",
|
|
||||||
NULL},
|
|
||||||
{"weight1",
|
{"weight1",
|
||||||
(getter)Texture_getWeight1, (setter)Texture_setWeight1,
|
(getter)Texture_getWeight1, (setter)Texture_setWeight1,
|
||||||
"Weight 1 (for Voronoi textures)",
|
"Weight 1 (for Voronoi textures)",
|
||||||
@@ -2198,11 +2194,6 @@ static PyObject *Texture_getType( BPy_Texture *self )
|
|||||||
return PyInt_FromLong( self->texture->type );
|
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 )
|
static PyObject *Texture_getWeight1( BPy_Texture *self )
|
||||||
{
|
{
|
||||||
return PyFloat_FromDouble( self->texture->vn_w1 );
|
return PyFloat_FromDouble( self->texture->vn_w1 );
|
||||||
|
|||||||
Reference in New Issue
Block a user