diff options
-rw-r--r-- | source/blender/blenlib/intern/fileops.c | 4 | ||||
-rw-r--r-- | source/creator/creator.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index 268f9280bea..b750dfbdf8f 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -339,7 +339,9 @@ int BLI_delete(char *file, int dir, int recursive) sprintf(str, "/bin/rmdir \"%s\"", file); return system(str); } - else remove(file); //sprintf(str, "/bin/rm -f \"%s\"", file); + else { + return remove(file); //sprintf(str, "/bin/rm -f \"%s\"", file); + } } return -1; } diff --git a/source/creator/creator.c b/source/creator/creator.c index b7a756949f1..806a8c108c0 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -185,6 +185,10 @@ static void print_help(void) printf (" -o <path>\tSet the render path and file name.\n"); printf (" Use // at the start of the path to\n"); printf (" render relative to the blend file.\n"); + printf (" The # characters are replaced by the frame number, and used to define zero padding.\n"); + printf (" ani_##_test.png becomes ani_01_test.png\n"); + printf (" test-######.png becomes test-000001.png\n"); + printf (" When the filename has no #, The suffix #### is added to the filename\n"); printf (" The frame number will be added at the end of the filename.\n"); printf (" eg: blender -b foobar.blend -o //render_ -F PNG -x 1 -a\n"); printf ("\nFormat options:\n"); |