diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-13 06:46:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-13 06:47:04 +0300 |
commit | 7d3db7a3ae9f3b3039e81138e3d399f1d4f9717f (patch) | |
tree | f4ddc62c69b8a30f65abfd173aa81cc4910ffa1d /source/blender/modifiers | |
parent | 4b5195a9d75ac1cef101f902c9866e07e75193bb (diff) |
Cleanup: use C++ comments for disabled code
Also ensure space around text in C-comment blocks.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_laplaciansmooth.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_laplaciansmooth.c b/source/blender/modifiers/intern/MOD_laplaciansmooth.c index 11abe9a4d0a..95283b1cd20 100644 --- a/source/blender/modifiers/intern/MOD_laplaciansmooth.c +++ b/source/blender/modifiers/intern/MOD_laplaciansmooth.c @@ -60,7 +60,7 @@ struct BLaplacianSystem { const MEdge *medges; LinearSolver *context; - /*Data*/ + /* Data. */ float min_area; float vert_centroid[3]; }; diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index e8fb667c572..4ace6404388 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -515,7 +515,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * mv_new = mvert_new; if (ob_axis != NULL) { - /*mtx_tx is initialized early on */ + /* `mtx_tx` is initialized early on. */ for (i = 0; i < totvert; i++, mv_new++, mv_orig++, vc++) { vc->co[0] = mv_new->co[0] = mv_orig->co[0]; vc->co[1] = mv_new->co[1] = mv_orig->co[1]; @@ -883,7 +883,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * copy_v3_v3(mv_new->co, mv_new_base->co); /* only need to set these if using non cleared memory */ - /*mv_new->mat_nr = mv_new->flag = 0;*/ + // mv_new->mat_nr = mv_new->flag = 0; if (ob_axis != NULL) { sub_v3_v3(mv_new->co, mtx_tx[3]); |