==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'
This commit is contained in:
2006-05-31 22:56:22 +00:00
parent 76d2d388f2
commit bc263b1e84
2 changed files with 6 additions and 6 deletions

View File

@@ -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;