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:
authorErwin Coumans <blender@erwincoumans.com>2006-01-30 08:43:07 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-01-30 08:43:07 +0300
commit18ab7c468fbca1aeab57c6d9268535067be03ef3 (patch)
tree4c48398b30cd978f36faa93b412c509dc588b0f4 /source/blender/src
parentb9ce28fc372c921a4055951a86331ce0e2406fd5 (diff)
P back to Play Game :)
<shift>P = preview toggle. Don't know what the previous <shift>P did, something like 'Transform'. Ton, can you look into this?
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/space.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 4faa1a4a035..86fbacb567e 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1591,15 +1591,19 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else if(G.qual==LR_CTRLKEY || G.qual==(LR_SHIFTKEY|LR_CTRLKEY))
make_parent();
else if(G.qual==LR_SHIFTKEY) {
- initTransform(TFM_PUSHPULL, CTX_NONE);
- Transform();
+ //initTransform(TFM_PUSHPULL, CTX_NONE);
+ //Transform();
+
+ //Ton: is this where is should go?
+ toggle_blockhandler(curarea, VIEW3D_HANDLER_PREVIEW, 0);
+ doredraw= 1;
}
else if(G.qual==LR_ALTKEY)
clear_parent();
else if((G.qual==0)) {
- toggle_blockhandler(curarea, VIEW3D_HANDLER_PREVIEW, 0);
- doredraw= 1;
- //start_game();
+ //toggle_blockhandler(curarea, VIEW3D_HANDLER_PREVIEW, 0);
+ //doredraw= 1;
+ start_game();
}
break;
case RKEY: