From df53e57bf34b689038a0728260f39bbfc15b3ae4 Mon Sep 17 00:00:00 2001 From: Stephen Swaney Date: Tue, 28 Oct 2003 07:15:02 +0000 Subject: [PATCH] Missing feature: Snap menu was not available in editmode. Fixed compiler warning about ambiguous else in TKEY block. --- source/blender/src/space.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 4309e7aa7b4..3dd1df83b5b 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1249,6 +1249,8 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) transform('N'); /* scale along normal */ else if(G.qual==LR_CTRLKEY) transform('S'); + else if(G.qual==LR_SHIFTKEY) + snapmenu(); else if((G.qual==0)) transform('s'); } @@ -1261,7 +1263,7 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) transform('s'); break; case TKEY: - if(G.obedit) + if(G.obedit){ if((G.qual==LR_CTRLKEY) && G.obedit->type==OB_MESH) { convert_to_triface(0); allqueue(REDRAWVIEW3D, 0); @@ -1272,6 +1274,7 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt) clear_tilt(); else if((G.qual==0)) transform('t'); + } else if(G.qual==LR_CTRLKEY) { make_track(); }