diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-24 15:31:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-24 15:31:57 +0400 |
commit | c93978d445de1c33f49f2f49ccfd9dbe7d202abc (patch) | |
tree | cd49c3260e9e8809b23acf8f6152de31470c0f51 /source/blender/editors/mesh | |
parent | e4fcc07a10942799164d6adbe0dfba2e79a1110e (diff) |
code cleanup: some edits for unused vars in recent smooth addition and some style edits.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 4e13833d85c..dd0cc08bf37 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -1672,15 +1672,15 @@ static int edbm_do_smooth_laplacian_vertex_exec(bContext *C, wmOperator *op) BMEditMesh *em = BMEdit_FromObject(obedit); int usex = TRUE, usey = TRUE, usez = TRUE, volume_preservation = TRUE; int i, repeat; - float lambda = 0.1f; - float lambda_border = 0.1f; + float lambda; + float lambda_border; BMIter fiter; BMFace *f; /* Check if select faces are triangles */ BM_ITER_MESH (f, &fiter, em->bm, BM_FACES_OF_MESH) { if (BM_elem_flag_test(f, BM_ELEM_SELECT)) { - if(f->len > 4) { + if (f->len > 4) { BKE_report(op->reports, RPT_WARNING, "Selected faces must be triangles or quads"); return OPERATOR_CANCELLED; } |