diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-02-17 17:41:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-02-17 17:41:36 +0300 |
commit | 28245a754e6b50aa21db49f27b6ae0ac25295270 (patch) | |
tree | 6860b0b3062d847befdd6bdd565fd4e299669884 /source | |
parent | def36ce180d740f48c27fe6994a67fc85b3305b0 (diff) |
python api bugfix,
forgot to remove the cast from short to long when making x,y aspect floats.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/sceneRender.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c index 4e1051176fd..a0087689885 100644 --- a/source/blender/python/api2_2x/sceneRender.c +++ b/source/blender/python/api2_2x/sceneRender.c @@ -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, |