diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 10:54:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 10:54:18 +0400 |
commit | 41a90077608898accebd08653d064fe309325a17 (patch) | |
tree | 33d55404cb9ec951b4bfdc2f1a0955636fd8ecba /source/blender/editors | |
parent | d45ea33ff14b7feaae29fe992b4d20cb96a1f48e (diff) |
Fix mesh triangulate not flushing selection
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 203907226e3..83cc5dfc932 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -3214,6 +3214,10 @@ static int edbm_quads_convert_to_tris_exec(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; } + /* select the output */ + BMO_slot_buffer_hflag_enable(em->bm, bmop.slots_out, "faces.out", BM_FACE, BM_ELEM_SELECT, true); + EDBM_selectmode_flush(em); + EDBM_update_generic(em, true, true); return OPERATOR_FINISHED; |