UV EditMode

-lasso tool now respects sticky selection setting when used 
with face 
mode
-use constants for sticky value.
This commit is contained in:
2007-10-03 10:36:04 +00:00
parent ba1f2248d0
commit d3382b8d1f
9 changed files with 185 additions and 18 deletions

View File

@@ -4843,13 +4843,13 @@ static void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
} else {
/* normal operaton */
if(G.qual==LR_CTRLKEY) {
G.sima->sticky = 2;
G.sima->sticky = SI_STICKY_VERTEX;
scrarea_do_headdraw(curarea);
} else if(G.qual==LR_SHIFTKEY) {
G.sima->sticky = 1;
G.sima->sticky = SI_STICKY_DISABLE;
scrarea_do_headdraw(curarea);
} else if(G.qual==LR_ALTKEY) {
G.sima->sticky = 0;
G.sima->sticky = SI_STICKY_LOC;
scrarea_do_headdraw(curarea);
} else {
G.sima->flag ^= SI_SELACTFACE;