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
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-05-20 00:57:48 +0400
committerTon Roosendaal <ton@blender.org>2005-05-20 00:57:48 +0400
commitfcadf9cc349a83a22cd86d4089a49ee4c3cfa3f8 (patch)
tree6922fa9bb388ce8c878be52ffb09272abbab77e1 /source/blender/src/toets.c
parent3fb7442d35e6c8a36f3aaebc7a9175a3b77b5251 (diff)
Pressing ESC now stops 'animated UI playback' too. It doesnt conflict with
ESC for other situations... so might work well after all.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index 4e940b33570..99abb1db468 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -91,6 +91,7 @@
#include "BSE_edit.h"
#include "BSE_editipo.h"
#include "BSE_headerbuttons.h"
+#include "BSE_seqaudio.h"
#include "blendef.h"
#include "render.h" // darn schrijfplaatje() (ton)
@@ -733,7 +734,13 @@ int blenderqread(unsigned short event, short val)
break;
case ESCKEY:
- sound_stop_all_sounds();
+ sound_stop_all_sounds(); // whats this?
+
+ /* stop playback on ESC always */
+ rem_screenhandler(G.curscreen, SCREEN_HANDLER_ANIM);
+ audiostream_stop();
+ allqueue(REDRAWALL, 0);
+
break;
case TABKEY:
if(G.qual==0) {