Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-17 05:15:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-17 05:15:28 +0400
commit654ddfa4d2cbf2519c0bc4b187a259314e420e68 (patch)
tree6e871590d6b798f53ac80c25faaf596b9a45a6dc /source
parentc3c14f862b552a1536c5f4deae7e68c14f1d6e92 (diff)
fix for 'Playanim' playing past the last frame of an animation. also print -s and -e in help message.
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_playanim.c2
-rw-r--r--source/creator/creator.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index fba45065fbe..008768dc18e 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -235,7 +235,7 @@ static void playanim_toscreen(PlayAnimPict *picture, struct ImBuf *ibuf, int fon
{
if (ibuf == NULL) {
- printf("no ibuf !\n");
+ printf("%s: no ibuf for picture '%s'\n", __func__, picture ? picture->name : "<NIL>");
return;
}
if (ibuf->rect == NULL && ibuf->rect_float) {
diff --git a/source/creator/creator.c b/source/creator/creator.c
index fc2f555227f..ff67fe09896 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1077,7 +1077,9 @@ static void setupArguments(bContext *C, bArgs *ba, SYS_SystemHandle *syshandle)
"\n\t\t-p <sx> <sy>\tOpen with lower left corner at <sx>, <sy>"
"\n\t\t-m\t\tRead from disk (Don't buffer)"
"\n\t\t-f <fps> <fps-base>\t\tSpecify FPS to start with"
- "\n\t\t-j <frame>\tSet frame step to <frame>";
+ "\n\t\t-j <frame>\tSet frame step to <frame>"
+ "\n\t\t-s <frame>\tPlay from <frame>"
+ "\n\t\t-j <frame>\tPlay until <frame>";
static char game_doc[] = "Game Engine specific options"
"\n\t-g fixedtime\t\tRun on 50 hertz without dropping frames"