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?
This commit is contained in:
2006-01-30 05:43:07 +00:00
parent b9ce28fc37
commit 18ab7c468f

View File

@@ -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: