diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-22 02:19:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-22 12:48:16 +0300 |
commit | 620b960d3d8cfd90b9f0df6ba3671c33eccb8309 (patch) | |
tree | 64f69db4bf9d44f0a32d1c92b0714bf2dc98ff2d /source/blender/editors/mesh/editmesh_select_similar.c | |
parent | bba60bb564cf5a16cfcac744d4ba82cf8eba3da9 (diff) |
Cleanup: style, use braces for editors
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select_similar.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select_similar.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c index 3006e2ed73d..2782cc92aca 100644 --- a/source/blender/editors/mesh/editmesh_select_similar.c +++ b/source/blender/editors/mesh/editmesh_select_similar.c @@ -1218,12 +1218,15 @@ static int edbm_select_similar_exec(bContext *C, wmOperator *op) ts->select_thresh = RNA_property_float_get(op->ptr, prop); } - if (type < 100) + if (type < 100) { return similar_vert_select_exec(C, op); - else if (type < 200) + } + else if (type < 200) { return similar_edge_select_exec(C, op); - else + } + else { return similar_face_select_exec(C, op); + } } static const EnumPropertyItem *select_similar_type_itemf(bContext *C, @@ -1233,8 +1236,9 @@ static const EnumPropertyItem *select_similar_type_itemf(bContext *C, { Object *obedit; - if (!C) /* needed for docs and i18n tools */ + if (!C) { /* needed for docs and i18n tools */ return prop_similar_types; + } obedit = CTX_data_edit_object(C); |