diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-05-14 16:26:29 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-05-14 16:26:29 +0300 |
commit | b1d016bc12ea113a0a290eed658e39bea16d350a (patch) | |
tree | d2f3fb02804cf07e3f470212e6967ddbd9dad9b6 /source/blender/editors/mesh | |
parent | 90c9458b2f9fe596df30d245cc7b209d18a40059 (diff) |
MESH_OT_select_mirror: Only report when something to report
Inspired by D3299.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index f75b5cb7e01..b58a6afb6e4 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -3421,7 +3421,9 @@ static int edbm_select_mirror_exec(bContext *C, wmOperator *op) } MEM_freeN(objects); - ED_mesh_report_mirror_ex(op, tot_mirr, tot_fail, select_mode); + if (tot_mirr || tot_fail) { + ED_mesh_report_mirror_ex(op, tot_mirr, tot_fail, select_mode); + } return OPERATOR_FINISHED; } |