diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-08 00:02:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-08 00:02:09 +0300 |
commit | 0b837a49861c4d4a413ba282124ecd8a6a2efd79 (patch) | |
tree | 87dd327aa171a6a9299b0b9757cb68e0450671f5 /source/blender/editors/metaball | |
parent | 64ec05b64d106623f63dd308d0950866a22b6229 (diff) |
Cleanup: style, use const args
Diffstat (limited to 'source/blender/editors/metaball')
-rw-r--r-- | source/blender/editors/metaball/mball_edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c index 77f991b4295..83e454c0d35 100644 --- a/source/blender/editors/metaball/mball_edit.c +++ b/source/blender/editors/metaball/mball_edit.c @@ -259,7 +259,7 @@ static bool mball_select_similar_type(Object *obedit, MetaBall *mb, int type, co mul_m3_v3(smat, radius_vec); radius = (radius_vec[0] + radius_vec[1] + radius_vec[2]) / 3; - if(ED_select_similar_compare_float_tree(tree, radius, thresh, SIM_CMP_EQ)) { + if (ED_select_similar_compare_float_tree(tree, radius, thresh, SIM_CMP_EQ)) { select = true; } break; @@ -267,7 +267,7 @@ static bool mball_select_similar_type(Object *obedit, MetaBall *mb, int type, co case SIMMBALL_STIFFNESS: { float s = ml->s; - if(ED_select_similar_compare_float_tree(tree, s, thresh, SIM_CMP_EQ)) { + if (ED_select_similar_compare_float_tree(tree, s, thresh, SIM_CMP_EQ)) { select = true; } break; @@ -359,7 +359,7 @@ static int mball_select_similar_exec(bContext *C, wmOperator *op) MetaBall *mb = (MetaBall *)obedit->data; bool changed = false; - switch(type) { + switch (type) { case SIMMBALL_TYPE: { MetaElem *ml; |