diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-01 13:51:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-01 13:51:45 +0400 |
commit | dff627671111c9645deb5a8795ca3da4af8544a7 (patch) | |
tree | 02da02fd15cfedb61c96aacde8d609beb48afb89 /source/blender/src/drawimage.c | |
parent | 387d05aaefd526d4aeab1d8e8bdd29aace88be30 (diff) |
made changing mesh vert/edge/face modes redraw the image view since,
draw verts and faces in UV mode when face select is enabled but syncing
with the mesh selection is not.
Diffstat (limited to 'source/blender/src/drawimage.c')
-rw-r--r-- | source/blender/src/drawimage.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c index ab675e5dce2..27862091a45 100644 --- a/source/blender/src/drawimage.c +++ b/source/blender/src/drawimage.c @@ -451,7 +451,7 @@ static int draw_uvs_face_check(void) if (G.sima==NULL) return 0; if (G.sima->flag & SI_SYNC_UVSEL && G.scene->selectmode == SCE_SELECT_FACE) - return 1; + return 2; if (G.sima->flag & SI_SELACTFACE) return 1; return 0; @@ -753,8 +753,9 @@ void draw_uvs_sima(void) } } bglEnd(); - } else { - + } + + if (drawface != 2) { /* 2 means Mesh Face Mode */ /* unselected uv's */ BIF_ThemeColor(TH_VERTEX); pointsize = BIF_GetThemeValuef(TH_VERTEX_SIZE); |