diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-02 12:51:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-02 12:51:48 +0400 |
commit | c64f5579d7c25a093c5da339aca87594c669994e (patch) | |
tree | 2ffc54c2d318019cfac69d2691fdb9fbe5b9f0ee /source/blender | |
parent | 1c76b22ba0d96d2d8cc74402e22b54367f461b41 (diff) |
avoid error message when stopping animation playback.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index f071295d3b5..e5feccefedc 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -2601,9 +2601,9 @@ static int screen_animation_cancel(bContext *C, wmOperator *op, wmEvent *event) WM_event_add_notifier(C, NC_SCENE|ND_FRAME, scene); /* call the other "toggling" operator to clean up now */ - return screen_animation_play_invoke(C, op, event); + ED_screen_animation_play(C, 0, 0); } - + return OPERATOR_PASS_THROUGH; } |