diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-11 12:37:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-11 12:37:38 +0400 |
commit | e5579ac505d9947c71e816593ea77150c89ff430 (patch) | |
tree | 7fc5ae1c6a8a38a2017dfcf500784f44cd5270a6 /source/blender/editors/uvedit | |
parent | fe7f354daa142edef5ad8da0a4527bab086055a9 (diff) |
Fix #30895: uv editor snap selected to adjacent unselected not working correctly,
was apply to unselected uvs too.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index bacee2e0a76..96511ed2bac 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -2762,7 +2762,7 @@ static int snap_uvs_to_adjacent_unselected(Scene *scene, Image *ima, Object *obe BM_ITER(f, &iter, bm, BM_FACES_OF_MESH, NULL) { if (BM_elem_flag_test(f, BM_ELEM_TAG)) { /* face: visible */ BM_ITER(l, &liter, bm, BM_LOOPS_OF_FACE, f) { - if (BM_elem_flag_test(f, BM_ELEM_TAG)) { /* loop: selected*/ + if (BM_elem_flag_test(l, BM_ELEM_TAG)) { /* loop: selected*/ float uv[2] = {0.0f, 0.0f}; int uv_tot = 0; |