diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 20:00:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 20:00:53 +0400 |
commit | 107795af496b7c78eef9f5cf1fb0f8589d7da834 (patch) | |
tree | a7a75aa0518927f73ec2085b17dc1d63d877f869 /source/blender/editors/mesh | |
parent | c6f340e6b050775cec512c1e8eef6e10af4cf996 (diff) |
bmesh split tool (Ykey), was only splitting off faces, unlike EditMesh which could also split edges.
make this behavior optional and default to off (match EditMesh).
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 947e5a8d5ea..5225b704a7f 100644 --- a/source/blender/editors/mesh/bmesh_tools.c +++ b/source/blender/editors/mesh/bmesh_tools.c @@ -3627,7 +3627,7 @@ static int split_mesh_exec(bContext *C, wmOperator *op) BMEditMesh *em = ((Mesh *)ob->data)->edit_btmesh; BMOperator bmop; - EDBM_InitOpf(em, &bmop, op, "split geom=%hvef", BM_ELEM_SELECT); + EDBM_InitOpf(em, &bmop, op, "split geom=%hvef use_only_faces=%b", BM_ELEM_SELECT, FALSE); BMO_op_exec(em->bm, &bmop); BM_mesh_elem_flag_disable_all(em->bm, BM_VERT | BM_EDGE | BM_FACE, BM_ELEM_SELECT); BMO_slot_buffer_hflag_enable(em->bm, &bmop, "geomout", BM_ELEM_SELECT, BM_ALL, TRUE); |