Added K Menu for Loop Select, Loop Cut, and Knife tools.

This commit is contained in:
2003-10-26 21:22:32 +00:00
parent cd0e042dbc
commit cc35c992b3
3 changed files with 29 additions and 3 deletions

View File

@@ -1020,8 +1020,9 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
break;
case KKEY:
if(G.obedit) {
if (G.qual & LR_SHIFTKEY ){
if (G.obedit->type==OB_MESH) KnifeSubdivide(KNIFE_PROMPT);
if (G.obedit->type==OB_MESH) {
if (G.qual & LR_SHIFTKEY) KnifeSubdivide(KNIFE_PROMPT);
else LoopMenu();
}
else if(G.obedit->type==OB_SURF) printknots();
}