MESH_OT_select_mirror: Only report when something to report

Inspired by D3299.
This commit is contained in:
Dalai Felinto
2018-05-14 15:26:29 +02:00
parent 90c9458b2f
commit b1d016bc12

View File

@@ -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;
}