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:
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index f2c50ffc2a4..ad7c1b4069b 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -752,12 +752,12 @@ int blenderqread(unsigned short event, short val)
case AKEY:
if(textediting==0 && textspace==0) {
- if(G.qual==(LR_SHIFTKEY|LR_ALTKEY)){
- play_anim(1);
+ if ((G.qual==LR_ALTKEY) && (curarea && curarea->spacetype==SPACE_VIEW3D)) {
+ play_anim(0);
return 0;
}
- else if(G.qual==LR_ALTKEY) {
- play_anim(0);
+ else if ((G.qual==LR_ALTKEY) || (G.qual==(LR_ALTKEY|LR_SHIFTKEY))){
+ play_anim(1);
return 0;
}
}