missed out on some BLI_convertstringcode's, also found that playing relative quicktime paths from the python api never worked, was using the 'Scene' type cast to a char.

This commit is contained in:
2008-05-04 15:02:48 +00:00
parent 7aa6833499
commit 6c05a92fe1
3 changed files with 3 additions and 4 deletions

View File

@@ -598,8 +598,7 @@ PyObject *RenderData_Play( BPy_RenderData * self )
if( self->renderContext->imtype == R_QUICKTIME ) {
strcpy( file, self->renderContext->pic );
BLI_convertstringcode( file, (char *) self->scene,
self->renderContext->cfra );
BLI_convertstringcode( file, G.sce );
BLI_make_existing_file( file );
if( BLI_strcasecmp( file + strlen( file ) - 4, ".mov" ) ) {
sprintf( txt, "%04d_%04d.mov",