diff options
author | Tom Musgrove <LetterRip@gmail.com> | 2006-06-01 02:56:22 +0400 |
---|---|---|
committer | Tom Musgrove <LetterRip@gmail.com> | 2006-06-01 02:56:22 +0400 |
commit | bc263b1e84cd2a2599139bced0a477369c75dece (patch) | |
tree | 4c7429c672241aefebf0c1c0ac8a7a2d999706da /source/blender/python/api2_2x/sceneRender.c | |
parent | 76d2d388f28eb5649b2d3daa5fdd07ca046dcb4e (diff) |
==render by parts==
made xparts and yparts consistent in the different places it can be set now python and the buttons are max 64 (was 512 in some python locations) and xparts is max 512 (was max 64 in some python locations), also made the minimum xparts and yparts 1 again. Ed Halley suggests that we should up the max xparts to 1024 (instead of the current 512) for 'smoother panoramas'
Diffstat (limited to 'source/blender/python/api2_2x/sceneRender.c')
-rw-r--r-- | source/blender/python/api2_2x/sceneRender.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c index cc3497ffc79..8387b2a8d08 100644 --- a/source/blender/python/api2_2x/sceneRender.c +++ b/source/blender/python/api2_2x/sceneRender.c @@ -658,7 +658,7 @@ PyObject *RenderData_PartsX( BPy_RenderData * self, PyObject * args ) { return M_Render_GetSetAttributeShort( args, &self->renderContext->xparts, 1, - 64 ); + 512 ); } PyObject *RenderData_PartsY( BPy_RenderData * self, PyObject * args ) @@ -1566,14 +1566,14 @@ static int RenderData_setIValueAttrClamp( BPy_RenderData *self, PyObject *value, switch( (int)type ) { case EXPP_RENDER_ATTR_XPARTS: - min = 2; + min = 1; max = 512; size = 'h'; param = &self->renderContext->xparts; break; case EXPP_RENDER_ATTR_YPARTS: - min = 2; - max = 512; + min = 1; + max = 64; size = 'h'; param = &self->renderContext->yparts; break; |