scene frames scene.render.cFrame,sFrame and eFrame were being treated as shorts....
authorCampbell Barton <ideasman42@gmail.com>
Wed, 21 May 2008 12:14:52 +0000 (12:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 21 May 2008 12:14:52 +0000 (12:14 +0000)
source/blender/python/api2_2x/sceneRender.c

index db5ad669255bf43b6fcd90a8407625bb4fb329f9..f54c2cd4e3bf595f0788340e38b4c904b036d3b6 100644 (file)
@@ -2005,19 +2005,19 @@ static int RenderData_setIValueAttrClamp( BPy_RenderData *self, PyObject *value,
        case EXPP_RENDER_ATTR_CFRAME:
                min = 1;
                max = MAXFRAME;
-               size = 'h';
+               size = 'i';
                param = &self->renderContext->cfra;
                break;
        case EXPP_RENDER_ATTR_EFRAME:
                min = 1;
                max = MAXFRAME;
-               size = 'h';
+               size = 'i';
                param = &self->renderContext->efra;
                break;
        case EXPP_RENDER_ATTR_SFRAME:
                min = 1;
            max = MAXFRAME;
-               size = 'h';
+               size = 'i';
                param = &self->renderContext->sfra;
                break;
        case EXPP_RENDER_ATTR_FPS: