diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-04-12 14:55:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-04-12 14:55:10 +0400 |
commit | 188687208968d95e57c6560f28da7b76aac1d574 (patch) | |
tree | 21ffbe93a46cd03f9119a13c13f85da9da66dc0b /source/creator | |
parent | 4bab327c1b16f9e27fe53935ea9d1d5dda6718d2 (diff) |
simple fix for "Unable to make version backup" warning when saving files. missing a return.
For *nix sustems, recent physics pointcache refactor uses stdio.h's remove() rather then system("rm -f ...") for removing files, since it was a lot slower for removing pointcache.
Ton used the system command because there was some problem using remove() ~6years back, but he cant remember why, (maybe its not a problem now)
Simple error, remove wasn't returning a value, but keep an eye out for problems removing files, and if anyone can reproduce the "Unable to make version backup" problem when saving, we should look into it.
Also added a note about using # in the output path for blenders command line help text.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |