diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-06 09:05:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-06 09:05:31 +0400 |
commit | 90b22486c7058b8991bc228a12e8ee599a95d24d (patch) | |
tree | 0ca1ba90a79a0e9b33f003ecbc43a6b2c3a0504f | |
parent | 4d9d21600dc0ae508bfbc300fd210a99de8b7ee4 (diff) |
select faces after dissolving
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 75fadfc6de5..6410e97322c 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -3127,8 +3127,14 @@ static int edbm_dissolve_faces_exec(bContext *C, wmOperator *op) const bool use_verts = RNA_boolean_get(op->ptr, "use_verts"); - if (!EDBM_op_callf(em, op, "dissolve_faces faces=%hf use_verts=%b", BM_ELEM_SELECT, use_verts)) + if (!EDBM_op_call_and_selectf( + em, op, + "region.out", true, + "dissolve_faces faces=%hf use_verts=%b", + BM_ELEM_SELECT, use_verts)) + { return OPERATOR_CANCELLED; + } EDBM_update_generic(em, true, true); |