Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-05-14 16:26:29 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-05-14 16:26:29 +0300
commitb1d016bc12ea113a0a290eed658e39bea16d350a (patch)
treed2f3fb02804cf07e3f470212e6967ddbd9dad9b6 /source/blender/editors/mesh
parent90c9458b2f9fe596df30d245cc7b209d18a40059 (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.c4
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;
}