diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-18 01:49:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-18 01:49:24 +0400 |
commit | a677e016d6f04f580ceebddecaf5f86132a5b147 (patch) | |
tree | c0348144a764944bb9d6b20330b69477e641f756 /source/blender/editors/mesh | |
parent | 3e78832dea8194bf5906495cd4b0d97145e9d5a0 (diff) |
remove function for testing selection (was only used in a few places)
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/bmesh_tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/bmesh_tools.c b/source/blender/editors/mesh/bmesh_tools.c index 58863d29df7..be7efd54477 100644 --- a/source/blender/editors/mesh/bmesh_tools.c +++ b/source/blender/editors/mesh/bmesh_tools.c @@ -3110,7 +3110,7 @@ static int knife_cut_exec(bContext *C, wmOperator *op) /* store percentage of edge cut for KNIFE_EXACT here.*/ for (be = BM_iter_new(&iter, bm, BM_EDGES_OF_MESH, NULL); be; be = BM_iter_step(&iter)) { - if (BM_elem_select_test(bm, be)) { + if (BM_elem_flag_test(be, BM_ELEM_SELECT)) { isect = bm_edge_seg_isect(be, curve, len, mode, gh, &isected); if (isect != 0.0f) { |