python api bugfix,

forgot to remove the cast from short to long when making x,y aspect floats.
This commit is contained in:
Campbell Barton 2009-02-17 14:41:36 +00:00
parent def36ce180
commit 28245a754e

@ -1889,10 +1889,10 @@ static PyObject *RenderData_getFloatAttr( BPy_RenderData *self, void *type )
param = self->renderContext->bake_biasdist;
break;
case EXPP_RENDER_ATTR_ASPECTX:
param = (long)self->renderContext->xasp;
param = self->renderContext->xasp;
break;
case EXPP_RENDER_ATTR_ASPECTY:
param = (long)self->renderContext->yasp;
param = self->renderContext->yasp;
break;
default:
return EXPP_ReturnPyObjError( PyExc_RuntimeError,