diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-18 05:20:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-18 05:20:04 +0400 |
commit | 9cceec40c47543eb372bd9c1331901857b5f120a (patch) | |
tree | 0eb00b227a806279d6cf81593781dfd8656d5fd3 /source/blender/editors/mesh/editmesh_utils.c | |
parent | 2fefbf24a50c3cba1fe9ba984e9cfaeec4eae4a5 (diff) |
use modified vertex coords for calculating display thickness and intersections.
internal improvement to editmesh_bvh.c
- optionally pass cage-coords as an arg, rather then calculating the coords in BKE_bmbvh_new(),
since all callers already have coords calculated.
- de-duplicate coords creation function from knife and bmbvhm, move into own generic function: BKE_editmesh_vertexCos_get()
Diffstat (limited to 'source/blender/editors/mesh/editmesh_utils.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c index 01e3ed4f4cb..819a8f78e6c 100644 --- a/source/blender/editors/mesh/editmesh_utils.c +++ b/source/blender/editors/mesh/editmesh_utils.c @@ -1166,7 +1166,7 @@ void EDBM_verts_mirror_cache_begin(BMEditMesh *em, const bool use_select) ED_mesh_mirrtopo_init(me, -1, &mesh_topo_store, true); } else { - tree = BKE_bmbvh_new(em, 0, NULL); + tree = BKE_bmbvh_new(em, 0, NULL, false); } BM_ITER_MESH (v, &iter, bm, BM_VERTS_OF_MESH) { @@ -1379,6 +1379,8 @@ int EDBM_view3d_poll(bContext *C) return 0; } + + /* -------------------------------------------------------------------- */ /* BMBVH functions */ // XXX |