diff options
author | Walid Shouman <eng.walidshouman@gmail.com> | 2013-11-18 11:20:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-18 11:25:47 +0400 |
commit | 238d2f962dc7f15188ea02d65950b1d2945d029a (patch) | |
tree | 6e4e8e5506a1b1d5b3faf455917fa06e401aff3f /source/blender/editors/mesh/editmesh_utils.c | |
parent | 8b3524c215fc8ab2a020d1914742a8fe576d8fae (diff) |
BMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.
This adds BM_bmesh_calc_tessellation() so we can get triangles from a
bmesh without having to have an editmesh available.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_utils.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c index ca8853fd3f5..697876a3877 100644 --- a/source/blender/editors/mesh/editmesh_utils.c +++ b/source/blender/editors/mesh/editmesh_utils.c @@ -1076,7 +1076,7 @@ void EDBM_verts_mirror_cache_begin_ex(BMEditMesh *em, const int axis, const bool ED_mesh_mirrtopo_init(me, -1, &mesh_topo_store, true); } else { - tree = BKE_bmbvh_new(em, 0, NULL, false); + tree = BKE_bmbvh_new_from_editmesh(em, 0, NULL, false); } #define VERT_INTPTR(_v, _i) r_index ? &r_index[_i] : BM_ELEM_CD_GET_VOID_P(_v, cd_vmirr_offset); |