Missing feature: Snap menu was not available in editmode.

Fixed compiler warning about ambiguous else in TKEY block.
This commit is contained in:
Stephen Swaney
2003-10-28 07:15:02 +00:00
parent 829c0340f2
commit df53e57bf3

View File

@@ -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();
}