Preliminary work on faceloop selection and faceloop cutting. Commiting in steps to prevent Ton from sneaking in between me! :D

some small things to fix:

- cutting on 1 face doesn't work
- options now under shift/ctrl R, they will be under a K menu that will contain DetectiveThorn's Knife tool too.

Roel
This commit is contained in:
2003-10-17 19:59:32 +00:00
parent f948e31bac
commit d622706883
3 changed files with 288 additions and 19 deletions

View File

@@ -1116,11 +1116,23 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else {
start_game();
}
break;
break;
case RKEY:
if(G.obedit==0 && (G.f & G_FACESELECT)) rotate_uv_tface();
else if(G.qual & LR_ALTKEY) clear_object('r');
else if(G.qual & LR_SHIFTKEY) selectrow_nurb();
else if (G.obedit) {
if(G.qual & LR_SHIFTKEY) {
if ELEM(G.obedit->type, OB_CURVE, OB_SURF)
selectrow_nurb();
else if (G.obedit->type==OB_MESH)
loop('s');
}
else if(G.qual & LR_CTRLKEY) {
if (G.obedit->type==OB_MESH)
loop('c');
}
else transform('r');
}
else transform('r');
break;
case SKEY: