forked from bartvdbraak/blender
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:
parent
7aa6833499
commit
6c05a92fe1
@ -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",
|
||||
|
@ -428,7 +428,7 @@ void makeqtstring (char *string) {
|
||||
if (string==0) return;
|
||||
|
||||
strcpy(string, G.scene->r.pic);
|
||||
BLI_convertstringcode(string, G.sce, G.scene->r.cfra);
|
||||
BLI_convertstringcode(string, G.sce);
|
||||
|
||||
BLI_make_existing_file(string);
|
||||
|
||||
|
@ -579,7 +579,7 @@ int main(int argc, char** argv)
|
||||
// base the actuator filename with respect
|
||||
// to the original file working directory
|
||||
strcpy(basedpath, exitstring.Ptr());
|
||||
BLI_convertstringcode(basedpath, pathname, 0);
|
||||
BLI_convertstringcode(basedpath, pathname);
|
||||
|
||||
bfd = load_game_data(basedpath);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user