diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-07 13:16:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-07 13:16:08 +0400 |
commit | 36ebd78cfdb4d8fa884f2b40a242966eb31e0ef6 (patch) | |
tree | d28ea4c0b65d747e3b02582fa9f84d3337285f84 /source/blender | |
parent | c60cc6ac85eb25903873014ea88a749542173cc9 (diff) |
minor change to UV lasso select - dont need to index verts twice
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/editview.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/src/editview.c b/source/blender/src/editview.c index fcb54812843..d2f40e0cb2d 100644 --- a/source/blender/src/editview.c +++ b/source/blender/src/editview.c @@ -533,21 +533,23 @@ static void do_lasso_select_mesh_uv(short mcords[][2], short moves, short select } } } else if ((G.sima->flag & SI_SYNC_UVSEL)==0 && G.sima->sticky == SI_STICKY_LOC) { - EditVert *eve; EditFace *efa_vlist; MTFace *tf_vlist; UvMapVert *vlist; struct UvVertMap *vmap; float limit[2]; - int a; - get_connected_limit_tface_uv(limit); + //EditVert *eve; /* removed vert counting for now */ + //int a; - for (a=0, eve= em->verts.first; eve; a++, eve= eve->next) - eve->tmp.l = a; + get_connected_limit_tface_uv(limit); EM_init_index_arrays(0, 0, 1); vmap= make_uv_vert_map_EM(0, 0, limit); + /* verts are numbered above in make_uv_vert_map_EM, make sure this stays true! */ + /*for (a=0, eve= em->verts.first; eve; a++, eve= eve->next) + eve->tmp.l = a; */ + if(vmap == NULL) return; |