Made it so locked strips inside metastrips are transformed.
Removed FTYPE from render output panel - was some old format that did index colors, and wasn't even used anywhere. Added 2 options to the render output panel that can be used for a really basic local renderfarm (even artists can use it!), "NoOverwrite" and "Touch" When both are enabled, rendering 1 scene between many pc's on a fast network will populate the directory with frames. Also useful to delete frames that have errors and re-render (without manually re-rendering each frame)
This commit is contained in:
@@ -116,8 +116,6 @@ static PyObject *RenderData_SetRenderPath( BPy_RenderData *self,
|
||||
PyObject *args );
|
||||
static PyObject *RenderData_SetBackbufPath( BPy_RenderData *self,
|
||||
PyObject *args );
|
||||
static PyObject *RenderData_SetFtypePath( BPy_RenderData *self,
|
||||
PyObject *args );
|
||||
static PyObject *RenderData_SetOversamplingLevel( BPy_RenderData * self,
|
||||
PyObject * args );
|
||||
static PyObject *RenderData_SetRenderWinSize( BPy_RenderData * self,
|
||||
@@ -982,7 +980,6 @@ static int RenderData_setImageType( BPy_RenderData *self, PyObject *value )
|
||||
case R_HAMX :
|
||||
case R_IRIS :
|
||||
case R_IRIZ :
|
||||
case R_FTYPE :
|
||||
case R_TIFF :
|
||||
case R_CINEON :
|
||||
case R_DPX :
|
||||
@@ -2220,29 +2217,6 @@ static int RenderData_setBackbufPath( BPy_RenderData *self, PyObject *value )
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject *RenderData_getFtypePath( BPy_RenderData * self )
|
||||
{
|
||||
return PyString_FromString( self->renderContext->ftype );
|
||||
}
|
||||
|
||||
static int RenderData_setFtypePath( BPy_RenderData *self, PyObject *value )
|
||||
{
|
||||
char *name;
|
||||
|
||||
name = PyString_AsString( value );
|
||||
if( !name )
|
||||
return EXPP_ReturnIntError( PyExc_TypeError, "expected a string" );
|
||||
|
||||
if( strlen( name ) >= sizeof(self->renderContext->ftype) )
|
||||
return EXPP_ReturnIntError( PyExc_ValueError,
|
||||
"ftype path is too long" );
|
||||
|
||||
strcpy( self->renderContext->ftype, name );
|
||||
EXPP_allqueue( REDRAWBUTSSCENE, 0 );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject *RenderData_getRenderWinSize( BPy_RenderData * self )
|
||||
{
|
||||
return PyInt_FromLong( (long) self->renderContext->size );
|
||||
@@ -2507,10 +2481,6 @@ static PyGetSetDef BPy_RenderData_getseters[] = {
|
||||
(getter)RenderData_getBackbufPath, (setter)RenderData_setBackbufPath,
|
||||
"Path to a background image (setting loads image)",
|
||||
NULL},
|
||||
{"ftypePath",
|
||||
(getter)RenderData_getFtypePath, (setter)RenderData_setFtypePath,
|
||||
"The path to Ftype file",
|
||||
NULL},
|
||||
{"edgeColor",
|
||||
(getter)RenderData_getEdgeColor, (setter)RenderData_setEdgeColor,
|
||||
"RGB color triplet for edges in Toon shading",
|
||||
@@ -2730,10 +2700,6 @@ static PyMethodDef BPy_RenderData_methods[] = {
|
||||
{"enableBackbuf", ( PyCFunction ) RenderData_EnableBackbuf,
|
||||
METH_VARARGS,
|
||||
"(bool) - enable/disable the backbuf image"},
|
||||
{"setFtypePath", ( PyCFunction ) RenderData_SetFtypePath, METH_VARARGS,
|
||||
"(string) - get/set the path to output the Ftype file"},
|
||||
{"getFtypePath", ( PyCFunction ) RenderData_getFtypePath, METH_NOARGS,
|
||||
"() - get the path to Ftype file"},
|
||||
{"enableExtensions", ( PyCFunction ) RenderData_EnableExtensions,
|
||||
METH_VARARGS,
|
||||
"(bool) - enable/disable windows extensions for output files"},
|
||||
@@ -3140,7 +3106,6 @@ PyObject *Render_Init( void )
|
||||
PyModule_AddIntConstant( submodule, "HAMX", R_HAMX );
|
||||
PyModule_AddIntConstant( submodule, "IRIS", R_IRIS );
|
||||
PyModule_AddIntConstant( submodule, "IRISZ", R_IRIZ );
|
||||
PyModule_AddIntConstant( submodule, "FTYPE", R_FTYPE );
|
||||
PyModule_AddIntConstant( submodule, "PAL", B_PR_PAL );
|
||||
PyModule_AddIntConstant( submodule, "NTSC", B_PR_NTSC );
|
||||
PyModule_AddIntConstant( submodule, "DEFAULT", B_PR_PRESET );
|
||||
@@ -3204,13 +3169,6 @@ static PyObject *RenderData_SetBackbufPath( BPy_RenderData *self,
|
||||
(setter)RenderData_setBackbufPath );
|
||||
}
|
||||
|
||||
static PyObject *RenderData_SetFtypePath( BPy_RenderData *self,
|
||||
PyObject *args )
|
||||
{
|
||||
return EXPP_setterWrapperTuple( (void *)self, args,
|
||||
(setter)RenderData_setFtypePath );
|
||||
}
|
||||
|
||||
static PyObject *RenderData_SetOversamplingLevel( BPy_RenderData * self,
|
||||
PyObject * args )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user