Animation Playback - Return to original frame
authorJoshua Leung <aligorith@gmail.com>
Fri, 27 Nov 2009 04:14:56 +0000 (04:14 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 27 Nov 2009 04:14:56 +0000 (04:14 +0000)
commit54701e28fbd2a2537bc1d9cc8947ca1eaf9c1510
treeb9d83a284f6dee0e1bddfe948a010a773b7aaafe
parent2cb7a0b25c0c7e2315b764c8a2f43a64fdcee60b
Animation Playback - Return to original frame

Playback of animation will now be restored to the frame that playback started on when stopping if the SCREEN_OT_animation_cancel operator is used (i.e. ESCKEY).

All other ways of stopping playback (pause button, alt-a) should act more like toggles, and do not reset the playhead.
source/blender/editors/include/ED_screen_types.h
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_ops.c