diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-03 14:36:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-03 14:36:04 +0400 |
commit | d3382b8d1f5244ae321aec42006dc469f605bacf (patch) | |
tree | 4704eec2c0e3732866ffb3db5a9d23fec222280c /source/blender/src/editsima.c | |
parent | ba1f2248d0429593d5623dc49d43061ac41d3053 (diff) |
UV EditMode
-lasso tool now respects sticky selection setting when used
with face
mode
-use constants for sticky value.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r-- | source/blender/src/editsima.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index 6cb34c08c0c..a53e9dade2d 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -616,7 +616,7 @@ void find_nearest_uv(MTFace **nearesttf, EditFace **nearestefa, unsigned int *ne } } -void mouse_select_sima(void) /* TODO - SYNCSEL */ +void mouse_select_sima(void) { EditMesh *em = G.editMesh; EditFace *efa; @@ -646,13 +646,13 @@ void mouse_select_sima(void) /* TODO - SYNCSEL */ actface= (G.qual & LR_ALTKEY || G.sima->flag & SI_SELACTFACE); switch(G.sima->sticky) { - case 0: + case SI_STICKY_LOC: sticky=2; break; - case 1: + case SI_STICKY_DISABLE: sticky=0; break; - case 2: + case SI_STICKY_VERTEX: if(G.qual & LR_CTRLKEY) { sticky=0; } else { |