Texture_getHFracDim was returning an int rather then a float (thanks zuegs for spotting)

removed unused var
This commit is contained in:
2008-09-17 03:13:15 +00:00
parent 651c0e4861
commit 4cd85aa61c
2 changed files with 1 additions and 2 deletions

View File

@@ -2132,7 +2132,7 @@ static PyObject *Texture_getFlags( BPy_Texture *self )
static PyObject *Texture_getHFracDim( BPy_Texture *self )
{
return PyInt_FromLong( (long)self->texture->mg_H );
return PyFloat_FromDouble( self->texture->mg_H );
}
static PyObject *Texture_getImageFlags( BPy_Texture *self, void *type )