diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-17 11:12:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-17 11:12:32 +0400 |
commit | ebd04f581d0e3de7b5815d0394d554bfbd91be55 (patch) | |
tree | d0f4b41864f9f5a71c3edcb72768963a6d8e3f42 /source | |
parent | 9c36b2be57cf770b0d5d49ab1b19ae4309ca8c9a (diff) |
Correct error in recelty added BM_face_split_edgenet
Was copying UV's to unrelated faces
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mods.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mods.c b/source/blender/bmesh/intern/bmesh_mods.c index 22a0374faa4..c9e367d5f43 100644 --- a/source/blender/bmesh/intern/bmesh_mods.c +++ b/source/blender/bmesh/intern/bmesh_mods.c @@ -868,7 +868,7 @@ bool BM_face_split_edgenet( l_iter = l_first = BM_FACE_FIRST_LOOP(f); do { BM_ITER_ELEM (l_other, &iter, l_iter->v, BM_LOOPS_OF_VERT) { - if (l_other->f != f) { + if ((l_other->f != f) && BM_ELEM_API_FLAG_TEST(l_other->f, FACE_NET)) { CustomData_bmesh_copy_data(&bm->ldata, &bm->ldata, l_iter->head.data, &l_other->head.data); } |