Texture_getHFracDim was returning an int rather then a float (thanks zuegs for spotting)
removed unused var
This commit is contained in:
@@ -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 )
|
||||
|
||||
@@ -1906,7 +1906,6 @@ void flip_editnormals(void)
|
||||
{
|
||||
EditMesh *em = G.editMesh;
|
||||
EditFace *efa;
|
||||
EditVert *eve;
|
||||
|
||||
efa= em->faces.first;
|
||||
while(efa) {
|
||||
|
||||
Reference in New Issue
Block a user