diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-11-12 02:06:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-11-12 02:30:32 +0300 |
commit | 7fd2efa50765cf101e2ec24d06a96a21b2c91791 (patch) | |
tree | 4a089035ba39c04b7747085d3b3c923537eba21e /source/blender/bmesh/tools | |
parent | dad0c31ceb40e2142b432427cbba7d86cabcf300 (diff) |
BMesh: Minor improvement to face-join
Pass in loops instead of edge & faces.
Nearly all callers have the loop-pairs to pass in.
Diffstat (limited to 'source/blender/bmesh/tools')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate_dissolve.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate_dissolve.c b/source/blender/bmesh/tools/bmesh_decimate_dissolve.c index 978cceee37c..e2c36299ddf 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_dissolve.c +++ b/source/blender/bmesh/tools/bmesh_decimate_dissolve.c @@ -322,9 +322,7 @@ void BM_mesh_decimate_dissolve_ex( i = BM_elem_index_get(e); if (BM_edge_is_manifold(e)) { - f_new = BM_faces_join_pair(bm, e->l->f, - e->l->radial_next->f, e, - false); /* join faces */ + f_new = BM_faces_join_pair(bm, e->l, e->l->radial_next, false); if (f_new) { BMLoop *l_first, *l_iter; |