diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-04 19:02:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-04 19:02:48 +0400 |
commit | 6c05a92fe189baf82b7de4813d63b7bacf36cab2 (patch) | |
tree | 280a649faa6d9c2f0914ea2d49f76079c8eccd72 /source/blender | |
parent | 7aa6833499b87d51143f7e5cbc4bd33bd300b05e (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/api2_2x/sceneRender.c | 3 | ||||
-rw-r--r-- | source/blender/quicktime/apple/quicktime_export.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/sceneRender.c b/source/blender/python/api2_2x/sceneRender.c index d9986195511..db5ad669255 100644 --- a/source/blender/python/api2_2x/sceneRender.c +++ b/source/blender/python/api2_2x/sceneRender.c @@ -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", diff --git a/source/blender/quicktime/apple/quicktime_export.c b/source/blender/quicktime/apple/quicktime_export.c index a49a9a2fdc8..736bb4dd584 100644 --- a/source/blender/quicktime/apple/quicktime_export.c +++ b/source/blender/quicktime/apple/quicktime_export.c @@ -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); |